forked from pinterest/ktlint
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove publication and signing of maven relocation 0.51.0-FINAL (pint…
- Loading branch information
1 parent
a26f014
commit 77526fb
Showing
11 changed files
with
0 additions
and
648 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,3 @@ | ||
plugins { | ||
id("ktlint-publication-library") | ||
} | ||
|
||
// TODO: Remove in release after ktlint 1.0.1 | ||
publishing { | ||
publications { | ||
create<MavenPublication>("relocation-ktlint-cli-reporter-core") { | ||
pom { | ||
// Old artifact coordinates | ||
groupId = "com.pinterest.ktlint" | ||
artifactId = "ktlint-cli-reporter" | ||
version = "0.51.0-FINAL" | ||
|
||
name = artifactId | ||
description = providers.gradleProperty("POM_DESCRIPTION") | ||
url = providers.gradleProperty("POM_URL") | ||
licenses { | ||
license { | ||
name = providers.gradleProperty("POM_LICENSE_NAME") | ||
url = providers.gradleProperty("POM_LICENSE_URL") | ||
distribution = "repo" | ||
} | ||
} | ||
developers { | ||
developer { | ||
id = providers.gradleProperty("POM_DEVELOPER_ID") | ||
name = providers.gradleProperty("POM_DEVELOPER_NAME") | ||
} | ||
} | ||
scm { | ||
url = providers.gradleProperty("POM_SCM_URL") | ||
connection = providers.gradleProperty("POM_SCM_CONNECTION") | ||
developerConnection = providers.gradleProperty("POM_SCM_DEV_CONNECTION") | ||
} | ||
|
||
distributionManagement { | ||
relocation { | ||
// New artifact coordinates | ||
artifactId.set("ktlint-cli-reporter-core") | ||
version.set("1.0.0") | ||
message.set("artifactId has been changed") | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
// TODO: Remove in release after ktlint 1.0.1 | ||
signing { | ||
// Uncomment following line to use gpg-agent for signing | ||
// See https://docs.gradle.org/current/userguide/signing_plugin.html#sec:using_gpg_agent how to configure it | ||
// useGpgCmd() | ||
|
||
val signingKeyId = System.getenv("ORG_GRADLE_PROJECT_signingKeyId") | ||
val signingKey = System.getenv("ORG_GRADLE_PROJECT_signingKey") | ||
val signingPassword = System.getenv("ORG_GRADLE_PROJECT_signingKeyPassword") | ||
useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword) | ||
|
||
sign(publishing.publications["relocation-ktlint-cli-reporter-core"]) | ||
|
||
isRequired = true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.