aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
blob: 3dfdfb292176789b43b77cacd52f54c1eb7697d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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"])
        }
    }
}