diff --git a/build.gradle b/build.gradle index 97309a5..d7e3e75 100644 --- a/build.gradle +++ b/build.gradle @@ -116,12 +116,12 @@ jacocoTestReport { } } -task sourcesJar(type: Jar) { +tasks.register('sourcesJar', Jar) { archiveClassifier = 'sources' from sourceSets.main.allJava } -task javadocJar(type: Jar) { +tasks.register('javadocJar', Jar) { archiveClassifier = 'javadoc' from javadoc }