From 9e52e2ffed490135ec6d8068fee5c308166b6c1e Mon Sep 17 00:00:00 2001 From: Stu Date: Sat, 23 Feb 2019 20:52:50 +0000 Subject: [PATCH] archive signing still required --- build.gradle | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index bed863e..c0501dd 100644 --- a/build.gradle +++ b/build.gradle @@ -13,8 +13,8 @@ plugins { } apply plugin: 'com.gradle.plugin-publish' -apply plugin: 'signing' apply plugin: 'maven' +apply plugin: 'signing' apply plugin: 'groovy' group = 'com.github.maiflai' @@ -49,11 +49,14 @@ task sourcesJar(type: Jar) { test.dependsOn(jar) artifacts { - archives jar archives groovydocJar archives sourcesJar } +signing { + sign configurations.archives +} + if (project.version == 'unspecified') { version = '0.1-SNAPSHOT' project.signArchives.enabled = false