diff --git a/buildSrc/src/main/kotlin/net/infumia/gradle/publish.kt b/buildSrc/src/main/kotlin/net/infumia/gradle/publish.kt index 7280881..f4b4262 100644 --- a/buildSrc/src/main/kotlin/net/infumia/gradle/publish.kt +++ b/buildSrc/src/main/kotlin/net/infumia/gradle/publish.kt @@ -19,7 +19,7 @@ fun Project.applyPublish(moduleName: String? = null, javaVersion: Int = 8) { val sourceSets = extensions.getByType().sourceSets tasks.register("sourcesJar", Jar::class) { dependsOn("classes") - archiveClassifier.set("sources") + archiveClassifier = "sources" from(sourceSets["main"].allSource) }