diff --git a/buildSrc/src/main/kotlin/mikbot-publishing.gradle.kts b/buildSrc/src/main/kotlin/mikbot-publishing.gradle.kts index 44ba9901..95c44473 100644 --- a/buildSrc/src/main/kotlin/mikbot-publishing.gradle.kts +++ b/buildSrc/src/main/kotlin/mikbot-publishing.gradle.kts @@ -8,6 +8,7 @@ plugins { } val sourcesJar by tasks.creating(Jar::class) { + dependsOn(tasks.processResources) archiveClassifier = "sources" destinationDirectory = layout.buildDirectory from(sourceSets["main"].allSource)