PicoLimbo/build.gradle

45 lines
865 B
Groovy

plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
group 'ru.nanit'
version '1.5.2'
compileJava {
options.encoding = "UTF-8"
}
tasks.withType(JavaCompile) {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.3'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.3'
implementation 'org.spongepowered:configurate-yaml:4.1.2'
implementation 'io.netty:netty-all:4.1.93.Final'
implementation 'net.kyori:adventure-nbt:4.14.0'
implementation 'com.grack:nanojson:1.8'
}
shadowJar {
from 'LICENSE'
manifest {
attributes('Main-Class': 'ua.nanit.limbo.NanoLimbo')
}
minimize()
}
test {
useJUnitPlatform()
}