Update build.gradle.kts

Co-authored-by: Michael Rittmeister <mail@schlaubi.me>
This commit is contained in:
StckOverflw 2021-06-03 03:11:30 +02:00 committed by GitHub
parent 48b8c71ee6
commit 0b49d099d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ tasks {
}
val sourcesJar by creating(Jar::class) {
dependsOn(JavaPlugin.CLASSES_TASK_NAME)
dependsOn(classes)
archiveClassifier.convention("sources")
from(sourceSets["main"].allSource)
}