diff --git a/build.gradle.kts b/build.gradle.kts index b666f50..3f2234c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -17,6 +17,10 @@ reckon { stageFromProp("beta", "rc", "final") } +java { + withSourcesJar() +} + sourceSets.register("sample") sourceSets.named("test") { @@ -65,3 +69,11 @@ tasks.test { classpath = classpath.plus(files("src/sample/clojure")) systemProperty("classpath.roots", file("src/sample/clojure")) } + +publishing { + publications { + create("main") { + from(components["java"]) + } + } +}