Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

Commit c3c7e15

Browse files
committed
Add publication
1 parent b4016c0 commit c3c7e15

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

build.gradle.kts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ reckon {
1717
stageFromProp("beta", "rc", "final")
1818
}
1919

20+
java {
21+
withSourcesJar()
22+
}
23+
2024
sourceSets.register("sample")
2125

2226
sourceSets.named("test") {
@@ -65,3 +69,11 @@ tasks.test {
6569
classpath = classpath.plus(files("src/sample/clojure"))
6670
systemProperty("classpath.roots", file("src/sample/clojure"))
6771
}
72+
73+
publishing {
74+
publications {
75+
create<MavenPublication>("main") {
76+
from(components["java"])
77+
}
78+
}
79+
}

0 commit comments

Comments
 (0)