aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-01-16 20:38:40 +0100
committerLinnea Gräf <nea@nea.moe>2024-01-16 20:40:53 +0100
commitfb9a3e59af30e698d137d0dd9083059fc404c321 (patch)
tree7f51e077fa3b5871667a930cb71dff54869b5416 /build.gradle.kts
downloadshot-fb9a3e59af30e698d137d0dd9083059fc404c321.tar.gz
shot-fb9a3e59af30e698d137d0dd9083059fc404c321.tar.bz2
shot-fb9a3e59af30e698d137d0dd9083059fc404c321.zip
Initial commitHEAD1.0.0master
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts40
1 files changed, 40 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
new file mode 100644
index 0000000..3dfdfb2
--- /dev/null
+++ b/build.gradle.kts
@@ -0,0 +1,40 @@
+// SPDX-FileCopyrightText: 2024 Linnea Gräf <nea@nea.moe>
+//
+// SPDX-License-Identifier: CC0-1.0
+
+plugins {
+ kotlin("jvm") version "1.8.20"
+ kotlin("plugin.serialization") version "1.8.20"
+ `maven-publish`
+}
+
+allprojects {
+ group = "moe.nea.shot"
+ version = "1.0.0"
+ repositories {
+ mavenCentral()
+ }
+ afterEvaluate {
+ kotlin {
+ jvmToolchain(8)
+ }
+ }
+}
+
+dependencies {
+ implementation("org.ow2.asm:asm:9.5")
+ testImplementation(kotlin("test"))
+}
+
+tasks.test {
+ useJUnitPlatform()
+}
+
+publishing {
+ publications {
+ create<MavenPublication>("shots") {
+ from(components["java"])
+ }
+ }
+}
+