Skip to content

Commit ee414f5

Browse files
committed
Add publications
1 parent e173da9 commit ee414f5

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

org.spoofax.interpreter.library.index/build.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ dependencies {
2121
testRuntimeOnly(libs.junit.vintage)
2222
}
2323

24+
publishing {
25+
publications {
26+
create<MavenPublication>("mavenJava") {
27+
from(components["java"])
28+
}
29+
}
30+
}
31+
2432
tasks.test {
2533
exclude("**/performance/**") // Ignore performance benchmarks.
2634
}

org.spoofax.terms/build.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ dependencies {
2525
testCompileOnly(libs.jakarta.annotation)
2626
}
2727

28+
publishing {
29+
publications {
30+
create<MavenPublication>("mavenJava") {
31+
from(components["java"])
32+
}
33+
}
34+
}
35+
2836
// Copy test resources into classes directory, to make them accessible as classloader resources at runtime.
2937
val copyTestResourcesTask = tasks.create<Copy>("copyTestResources") {
3038
from("$projectDir/test-resources")

0 commit comments

Comments
 (0)