Skip to content

Commit

Permalink
Build: Publish sources
Browse files Browse the repository at this point in the history
We used to publish these for the main Elementa artifact but
accidentially stopped doing so with 0b76fa7.

For the unstable artifacts we had never published them.
  • Loading branch information
Johni0702 committed Aug 13, 2024
1 parent 7b764d8 commit a10972f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ apiValidation {
nonPublicMarkers.add("org.jetbrains.annotations.ApiStatus\$Internal")
}

java.withSourcesJar()

publishing.publications.named<MavenPublication>("maven") {
artifactId = "elementa"
}
2 changes: 2 additions & 0 deletions unstable/layoutdsl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ kotlin.jvmToolchain {
(this as JavaToolchainSpec).languageVersion.set(JavaLanguageVersion.of(8))
}

java.withSourcesJar()

publishing {
publications {
named<MavenPublication>("maven") {
Expand Down
2 changes: 2 additions & 0 deletions unstable/statev2/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ kotlin.jvmToolchain {
(this as JavaToolchainSpec).languageVersion.set(JavaLanguageVersion.of(8))
}

java.withSourcesJar()

publishing {
publications {
named<MavenPublication>("maven") {
Expand Down

0 comments on commit a10972f

Please sign in to comment.