diff options
author | nea <nea@nea.moe> | 2023-08-09 23:27:09 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-08-09 23:27:09 +0200 |
commit | 4878767a97c9ca78ec279e5a33cd7ae5b7b65493 (patch) | |
tree | 6f2c3ca568e5d2ea5090c92dcfffb3031f8e1680 /build.gradle.kts | |
parent | 0b518030fcdffb68e6b62ffddfe4b784db9f272c (diff) | |
download | nealisp-4878767a97c9ca78ec279e5a33cd7ae5b7b65493.tar.gz nealisp-4878767a97c9ca78ec279e5a33cd7ae5b7b65493.tar.bz2 nealisp-4878767a97c9ca78ec279e5a33cd7ae5b7b65493.zip |
JSR and publishing
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 10 |
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"]) + } + } +} |