Skip to content

Commit 809e719

Browse files
committed
quarkus: sourcesJar
1 parent 2d6e6ad commit 809e719

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ subprojectsOf("projects") {
2727
}
2828
}
2929

30+
java {
31+
withSourcesJar()
32+
withJavadocJar()
33+
}
34+
3035
mavenPublishing {
3136
coordinates(groupId = rootProject.group.toString(), artifactId = project.name, version = rootProject.version.toString())
3237
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)

projects/kediatr-quarkus-starter/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@ dependencies {
1717
tasks.compileKotlin {
1818
mustRunAfter(tasks.compileQuarkusGeneratedSourcesJava, tasks.compileQuarkusTestGeneratedSourcesJava)
1919
}
20+
21+
tasks.sourcesJar {
22+
mustRunAfter(tasks.compileQuarkusGeneratedSourcesJava)
23+
}

0 commit comments

Comments
 (0)