From 8a046d2632fe9d2bb4dd48c031d5aad0052114a3 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Fri, 19 Apr 2024 09:04:27 +0200 Subject: [PATCH] Apply IDE suggestions --- build.gradle | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 6b270a16..529a933a 100644 --- a/build.gradle +++ b/build.gradle @@ -89,14 +89,14 @@ jacocoTestReport { } } -task sourcesJar(type: Jar) { - archiveClassifier = 'sources' - from sourceSets.main.allJava +tasks.register('sourcesJar', Jar) { + archiveClassifier = 'sources' + from sourceSets.main.allJava } -task javadocJar(type: Jar) { - archiveClassifier = 'javadoc' - from javadoc +tasks.register('javadocJar', Jar) { + archiveClassifier = 'javadoc' + from javadoc } java {