Skip to content

Commit

Permalink
Add publications
Browse files Browse the repository at this point in the history
  • Loading branch information
Virtlink committed Jul 25, 2024
1 parent 5e26825 commit f1dceec
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 0 deletions.
8 changes: 8 additions & 0 deletions org.metaborg.util/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ dependencies {
testRuntimeOnly(libs.junit.vintage)
}

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

// Copy test resources into classes directory, to make them accessible as classloader resources at runtime.
val copyTestResourcesTask = tasks.create<Copy>("copyTestResources") {
from("$projectDir/src/test/resources")
Expand Down
8 changes: 8 additions & 0 deletions org.spoofax.interpreter.core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ dependencies {
testRuntimeOnly(libs.junit.vintage)
}

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

// Copy test resources into classes directory, to make them accessible as classloader resources at runtime.
val copyTestResourcesTask = tasks.create<Copy>("copyTestResources") {
from("$projectDir/src/test/resources")
Expand Down
8 changes: 8 additions & 0 deletions org.spoofax.interpreter.library.java/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,11 @@ dependencies {
api(libs.spoofax.terms)
api(project(":org.spoofax.interpreter.core"))
}

publishing {
publications {
create<MavenPublication>("mavenJava") {
from(components["java"])
}
}
}
8 changes: 8 additions & 0 deletions org.spoofax.interpreter.library.xml/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,11 @@ dependencies {
api(libs.spoofax.terms)
api(project(":org.spoofax.interpreter.core"))
}

publishing {
publications {
create<MavenPublication>("mavenJava") {
from(components["java"])
}
}
}
8 changes: 8 additions & 0 deletions util-vfs2/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ dependencies {
testRuntimeOnly(libs.junit.vintage)
}

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

// Copy test resources into classes directory, to make them accessible as classloader resources at runtime.
val copyTestResourcesTask = tasks.create<Copy>("copyTestResources") {
from("$projectDir/src/test/resources")
Expand Down

0 comments on commit f1dceec

Please sign in to comment.