From c3c7e156133e70f0aaff6852576a3aecde922a76 Mon Sep 17 00:00:00 2001 From: Andrew Oberstar Date: Sun, 10 Jan 2021 15:41:24 -0600 Subject: [PATCH] Add publication --- build.gradle.kts | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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"]) + } + } +}