summaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts10
1 files changed, 10 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 0a2df9e..48834ea 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -1,5 +1,15 @@
plugins { kotlin("jvm").version("1.7.20"); java; `maven-publish` }
+group = "moe.nea"
+version = "1.0.0"
repositories { mavenCentral() }
java.toolchain { languageVersion.set(JavaLanguageVersion.of(8)) }
sourceSets.main { java.setSrcDirs(listOf("src/")); resources.setSrcDirs(listOf("res")) }
sourceSets.test { java.setSrcDirs(listOf("test/src")); resources.setSrcDirs(listOf("test/res")) }
+
+publishing {
+ publications {
+ create<MavenPublication>("maven") {
+ from(components["java"])
+ }
+ }
+}