Diff
checker
テキスト
テキスト
画像
ドキュメント
Excel
フォルダ
Legal
Enterprise
デスクトップ
料金
ログイン
Diffchecker デスクトップのダウンロード
テキスト比較
2 つのテキスト ファイルの違いを見つける
ツール
履歴
ライブエディター
空白の変更を非表示
未変更行を折りたたむ
折り返しなし
レイアウト
分割
統合
比較精度
スマート
単語
文字
テキストスタイル
外観を変更
シンタックスハイライト
構文を選択
無視
テキスト変換
最初の差分へ移動
入力を編集
Diffchecker Desktop
Diffcheckerを実行する最も安全な方法。Diffchecker Desktopアプリを入手:あなたの差分はコンピューターから出ることはありません!
Desktopを入手
OSSRH to Central Portal (with jreleaser)
作成日
昨年
差分は期限切れになりません
クリア
エクスポート
共有
説明
13 削除
行
合計
削除
文字
合計
削除
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
79 行
すべてコピー
44 追加
行
合計
追加
文字
合計
追加
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
111 行
すべてコピー
plugins {
plugins {
id 'java-library'
id 'java-library'
id 'signing'
id 'signing'
id 'maven-publish'
id 'maven-publish'
コピー
コピー済み
コピー
コピー済み
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 {
コピー
コピー済み
コピー
コピー済み
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 {
コピー
コピー済み
コピー
コピー済み
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()
}
}
}
}
}
}
}
コピー
コピー済み
コピー
コピー済み
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')
コピー
コピー済み
コピー
コピー済み
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')
}
}
}
}
}
}
保存された差分
原文
ファイルを開く
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 }
変更されたテキスト
ファイルを開く
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') } } } } }
違いを見つける