diff --git a/build.gradle.kts b/build.gradle.kts index 68b6d86224..011e1cf580 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -114,7 +114,13 @@ tasks.withType { signing { val signingKey: String? by project val signingPassword: String? by project + useInMemoryPgpKeys(signingKey, signingPassword) + + setRequired({ + gradle.taskGraph.hasTask("publish") + }) + sign(publishing.publications["maven"]) } diff --git a/jitpack.yml b/jitpack.yml new file mode 100644 index 0000000000..adb3fe10c8 --- /dev/null +++ b/jitpack.yml @@ -0,0 +1,2 @@ +jdk: + - openjdk11