Diff
checker
Text
Text
Bilder
Dokumente
Excel
Ordner
Legal
Enterprise
Desktop-App
Preise
Einloggen
Diffchecker Desktop herunterladen
Texte vergleichen
Finde den Unterschied zwischen zwei Textdateien
Werkzeuge
Verlauf
Live-Editor
Leerzeichen ausblenden
Gleiches ausblenden
Zeilenumbruch aus
Ansicht
Zweispaltig
Einspaltig
Vergleichsgenauigkeit
Intelligent
Wort
Zeichen
Textstile
Darstellung ändern
Syntaxhervorhebung
Syntax auswählen
Ignorieren
Text umwandeln
Zur ersten Änderung
Eingabe bearbeiten
Diffchecker Desktop
Der sicherste Weg, Diffchecker zu nutzen. Hol dir die Desktop-App: Deine Diffs verlassen nie deinen Computer!
Desktop holen
OSSRH to Central Portal (with jreleaser)
Erstellt
letztes Jahr
Diff läuft nie ab
Löschen
Exportieren
Teilen
Erklären
13 Entfernungen
Zeilen
Gesamt
Entfernt
Zeichen
Gesamt
Entfernt
Um diese Funktion weiterhin zu nutzen, aktualisiere auf
Diff
checker
Pro
Preise anzeigen
79 Zeilen
Kopieren
44 Hinzufügungen
Zeilen
Gesamt
Hinzugefügt
Zeichen
Gesamt
Hinzugefügt
Um diese Funktion weiterhin zu nutzen, aktualisiere auf
Diff
checker
Pro
Preise anzeigen
111 Zeilen
Kopieren
plugins {
plugins {
id 'java-library'
id 'java-library'
id 'signing'
id 'signing'
id 'maven-publish'
id 'maven-publish'
Kopieren
Kopiert
Kopieren
Kopiert
id 'org.jreleaser' version '1.17.0'
}
}
repositories {
repositories {
mavenCentral()
mavenCentral()
}
}
task sourcesJar(type: Jar) {
task sourcesJar(type: Jar) {
archiveClassifier.set('sources')
archiveClassifier.set('sources')
from sourceSets.main.allSource
from sourceSets.main.allSource
}
}
task javadocJar(type: Jar) {
task javadocJar(type: Jar) {
archiveClassifier.set('javadoc')
archiveClassifier.set('javadoc')
from tasks.javadoc.destinationDir
from tasks.javadoc.destinationDir
}
}
publishing {
publishing {
publications {
publications {
Kopieren
Kopiert
Kopieren
Kopiert
maven
Java
(MavenPublication) {
maven
(MavenPublication) {
from components.java
from components.java
artifact sourcesJar
artifact sourcesJar
artifact javadocJar
artifact javadocJar
groupId = 'com.example'
groupId = 'com.example'
version = '1.0.0'
version = '1.0.0'
artifactId = 'sample-package'
artifactId = 'sample-package'
pom {
pom {
name.set('Sample package')
name.set('Sample package')
description.set('This is sample.')
description.set('This is sample.')
url.set('https://github.com/your-github-name/repository-name')
url.set('https://github.com/your-github-name/repository-name')
licenses {
licenses {
license {
license {
name.set('MIT License')
name.set('MIT License')
url.set('https://opensource.org/licenses/MIT')
url.set('https://opensource.org/licenses/MIT')
}
}
}
}
developers {
developers {
developer {
developer {
id.set('Your id')
id.set('Your id')
name.set('Your name')
name.set('Your name')
email.set('???@???.???')
email.set('???@???.???')
}
}
}
}
scm {
scm {
connection.set('scm:git:git://github.com/your-github-name/repository-name.git')
connection.set('scm:git:git://github.com/your-github-name/repository-name.git')
developerConnection.set('scm:git:ssh://github.com/your-github-name/repository-name.git')
developerConnection.set('scm:git:ssh://github.com/your-github-name/repository-name.git')
url.set('https://github.com/your-github-name/repository-name')
url.set('https://github.com/your-github-name/repository-name')
}
}
}
}
}
}
}
}
repositories {
repositories {
maven {
maven {
Kopieren
Kopiert
Kopieren
Kopiert
name 'OSSRH'
url
= layout.buildDirectory.dir('
staging
-
deploy
')
url
uri('https://s01.oss.sonatype.org/service/local/
staging
/
deploy
/maven2/')
credentials {
username = project.findProperty('ossrhUsername')?.toString()
password = project.findProperty('ossrhPassword')?.toString()
}
}
}
}
}
}
}
Kopieren
Kopiert
Kopieren
Kopiert
def githubToken = project.findProperty('githubToken')
def gpgPublicKey = project.findProperty('gpgPublicKey')
def gpgSecretKey = project.findProperty('gpgSecretKey')
def gpgSecretKey = project.findProperty('gpgSecretKey')
def gpgPassphrase = project.findProperty('gpgPassphrase')
def gpgPassphrase = project.findProperty('gpgPassphrase')
Kopieren
Kopiert
Kopieren
Kopiert
signing {
def centralUsername = project.findProperty('centralUsername')
useInMemoryPgpKeys
(gpgSecretKey
,
gpgPassphrase)
def centralPassword = project.findProperty('centralPassword')
sign publishing.publications.mavenJava
jreleaser {
project {
gitRootSearch = true
}
release {
github {
token.set(githubToken)
}
}
signing {
active = 'ALWAYS'
armored = true
mode = 'MEMORY'
publicKey.set(gpgPublicKey)
secretKey.set
(gpgSecretKey
)
passphrase.set(
gpgPassphrase)
}
deploy {
maven {
mavenCentral {
sonatype {
active = 'ALWAYS'
url = 'https://central.sonatype.com/api/v1/publisher'
username.set(centralUsername)
password.set(centralPassword)
stagingRepository('build/staging-deploy')
}
}
}
}
}
}
Gespeicherte Diffs
Originaltext
Datei öffnen
plugins { id 'java-library' id 'signing' id 'maven-publish' } repositories { mavenCentral() } task sourcesJar(type: Jar) { archiveClassifier.set('sources') from sourceSets.main.allSource } task javadocJar(type: Jar) { archiveClassifier.set('javadoc') from tasks.javadoc.destinationDir } publishing { publications { mavenJava(MavenPublication) { from components.java artifact sourcesJar artifact javadocJar groupId = 'com.example' version = '1.0.0' artifactId = 'sample-package' pom { name.set('Sample package') description.set('This is sample.') url.set('https://github.com/your-github-name/repository-name') licenses { license { name.set('MIT License') url.set('https://opensource.org/licenses/MIT') } } developers { developer { id.set('Your id') name.set('Your name') email.set('???@???.???') } } scm { connection.set('scm:git:git://github.com/your-github-name/repository-name.git') developerConnection.set('scm:git:ssh://github.com/your-github-name/repository-name.git') url.set('https://github.com/your-github-name/repository-name') } } } } repositories { maven { name 'OSSRH' url uri('https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/') credentials { username = project.findProperty('ossrhUsername')?.toString() password = project.findProperty('ossrhPassword')?.toString() } } } } def gpgSecretKey = project.findProperty('gpgSecretKey') def gpgPassphrase = project.findProperty('gpgPassphrase') signing { useInMemoryPgpKeys(gpgSecretKey, gpgPassphrase) sign publishing.publications.mavenJava }
Bearbeitung
Datei öffnen
plugins { id 'java-library' id 'signing' id 'maven-publish' id 'org.jreleaser' version '1.17.0' } repositories { mavenCentral() } task sourcesJar(type: Jar) { archiveClassifier.set('sources') from sourceSets.main.allSource } task javadocJar(type: Jar) { archiveClassifier.set('javadoc') from tasks.javadoc.destinationDir } publishing { publications { maven(MavenPublication) { from components.java artifact sourcesJar artifact javadocJar groupId = 'com.example' version = '1.0.0' artifactId = 'sample-package' pom { name.set('Sample package') description.set('This is sample.') url.set('https://github.com/your-github-name/repository-name') licenses { license { name.set('MIT License') url.set('https://opensource.org/licenses/MIT') } } developers { developer { id.set('Your id') name.set('Your name') email.set('???@???.???') } } scm { connection.set('scm:git:git://github.com/your-github-name/repository-name.git') developerConnection.set('scm:git:ssh://github.com/your-github-name/repository-name.git') url.set('https://github.com/your-github-name/repository-name') } } } } repositories { maven { url = layout.buildDirectory.dir('staging-deploy') } } } def githubToken = project.findProperty('githubToken') def gpgPublicKey = project.findProperty('gpgPublicKey') def gpgSecretKey = project.findProperty('gpgSecretKey') def gpgPassphrase = project.findProperty('gpgPassphrase') def centralUsername = project.findProperty('centralUsername') def centralPassword = project.findProperty('centralPassword') jreleaser { project { gitRootSearch = true } release { github { token.set(githubToken) } } signing { active = 'ALWAYS' armored = true mode = 'MEMORY' publicKey.set(gpgPublicKey) secretKey.set(gpgSecretKey) passphrase.set(gpgPassphrase) } deploy { maven { mavenCentral { sonatype { active = 'ALWAYS' url = 'https://central.sonatype.com/api/v1/publisher' username.set(centralUsername) password.set(centralPassword) stagingRepository('build/staging-deploy') } } } } }
Unterschied finden