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
accidentally stopped doing so with 0b76fa7.

For the unstable artifacts we had never published them.

GitHub: #150
  • Loading branch information
Johni0702 authored Aug 13, 2024
1 parent 9aa9ded commit f66a554
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 f66a554

Please sign in to comment.