Skip to content

Commit

Permalink
Update publish.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
portlek committed Aug 26, 2024
1 parent ccfd40e commit 9e8f756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/net/infumia/gradle/publish.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fun Project.applyPublish(moduleName: String? = null, javaVersion: Int = 8) {
val sourceSets = extensions.getByType<JavaPluginExtension>().sourceSets
tasks.register("sourcesJar", Jar::class) {
dependsOn("classes")
archiveClassifier.set("sources")
archiveClassifier = "sources"
from(sourceSets["main"].allSource)
}

Expand Down

0 comments on commit 9e8f756

Please sign in to comment.