aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts9
1 files changed, 9 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 0596e52..50f3fe5 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -1,5 +1,6 @@
plugins {
java
+ `maven-publish`
}
group = "moe.nea"
@@ -27,4 +28,12 @@ java {
tasks.test {
useJUnitPlatform()
+}
+
+publishing {
+ publications {
+ create<MavenPublication>("maven") {
+ from(components["java"])
+ }
+ }
} \ No newline at end of file