aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
blob: 176171334eb99cf0c13c5cab572e498bf3a4cdcb (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
plugins {
    java
    `maven-publish`
}

group = "moe.nea"
version = "1.0-SNAPSHOT"

repositories {
    mavenCentral()
    maven("https://maven.architectury.dev")
    maven("https://maven.fabricmc.net")
    maven("https://maven.minecraftforge.net")
}

dependencies {
    implementation("net.fabricmc:stitch:0.6.2")
    compileOnly("org.jetbrains:annotations:24.0.0")
    implementation("net.minecraftforge:srgutils:0.4.13")
    implementation("net.fabricmc:tiny-remapper:0.8.6")
    implementation("de.siegmar:fastcsv:3.0.0")
    testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
}

java {
    this.toolchain.languageVersion.set(JavaLanguageVersion.of(17))
    withSourcesJar()
}

tasks.test {
    useJUnitPlatform()
}

publishing {
    publications {
        create<MavenPublication>("maven") {
            from(components["java"])
        }
    }
}