Skip to content

Commit

Permalink
Merge pull request rockcrafters#10 from vpa1977/publish_base
Browse files Browse the repository at this point in the history
chore: enable base library publishing
  • Loading branch information
vpa1977 authored Oct 7, 2024
2 parents 50f5d5a + f5fa0d8 commit deb18d2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion rockcraft/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
`java`
`java-library`
`maven-publish`
}

repositories {
Expand All @@ -21,3 +22,11 @@ tasks.named<Test>("test") {
// Use JUnit Jupiter for unit tests.
useJUnitPlatform()
}

publishing {
publications {
create<MavenPublication>(project.name) {
from(components["java"])
}
}
}

0 comments on commit deb18d2

Please sign in to comment.