Switch to the Vanniktech base plugin for publishing (#1450)

* Switch to the Vanniktech base plugin for publishing

Move configuration out of build.gradle files and into build.gradle.kts files.
Sign published builds.
Support publishing release builds from GitHub actions.

* Update build.gradle.kts

Co-authored-by: Zac Sweers <zac.sweers@gmail.com>

Co-authored-by: Zac Sweers <zac.sweers@gmail.com>
This commit is contained in:
Jesse Wilson
2021-12-08 23:35:49 -05:00
committed by GitHub
parent 9d2b9054da
commit d5d172c3bb
18 changed files with 191 additions and 137 deletions

View File

@@ -26,7 +26,7 @@ ktlint = "0.41.0"
dokka = { id = "org.jetbrains.dokka", version = "1.5.31" }
japicmp = { id = "me.champeau.gradle.japicmp", version = "0.2.9" }
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
mavenPublish = { id = "com.vanniktech.maven.publish", version = "0.17.0" }
mavenPublish = { id = "com.vanniktech.maven.publish", version = "0.18.0" }
mavenShadow = { id = "com.github.johnrengelman.shadow", version = "7.0.0" }
spotless = { id = "com.diffplug.spotless", version = "5.14.2" }