Skip to content

Commit

Permalink
Merge pull request #1131 from zalando/feature/gh-964-add-sign-plugin
Browse files Browse the repository at this point in the history
Sign `zally` artifacts
  • Loading branch information
tkrop committed Feb 27, 2020
2 parents 490ab4c + f793929 commit 09b63f7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,12 @@ So why should you choose Zally?
## License

MIT license with an exception. See [license file](LICENSE).

## Publish

### Prerequisites

* [Signing plugin](https://docs.gradle.org/current/userguide/signing_plugin.htm) configured
* `OSSRH_JIRA_USERNAME` and `OSSRH_JIRA_PASSWORD` to access [Maven Central Repo](https://oss.sonatype.org/) are
configured in `$HOME/.gradle/gradle.properties`

5 changes: 5 additions & 0 deletions server/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ plugins {
id("org.jlleitschuh.gradle.ktlint") version "7.2.1"
id("org.jetbrains.dokka") version "0.10.0"
id("maven-publish")
signing
}

allprojects {
Expand Down Expand Up @@ -130,6 +131,10 @@ allprojects {
}
}

signing {
sign(publishing.publications["mavenJava"])
}

dependencyManagement {
dependencies {
dependency("org.assertj:assertj-core:3.11.0")
Expand Down

0 comments on commit 09b63f7

Please sign in to comment.