Skip to content

Commit

Permalink
Add publication
Browse files Browse the repository at this point in the history
  • Loading branch information
ajoberstar committed Jan 10, 2021
1 parent b4016c0 commit c3c7e15
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ reckon {
stageFromProp("beta", "rc", "final")
}

java {
withSourcesJar()
}

sourceSets.register("sample")

sourceSets.named("test") {
Expand Down Expand Up @@ -65,3 +69,11 @@ tasks.test {
classpath = classpath.plus(files("src/sample/clojure"))
systemProperty("classpath.roots", file("src/sample/clojure"))
}

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

0 comments on commit c3c7e15

Please sign in to comment.