40 lines
820 B
Groovy
40 lines
820 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'java-library'
|
|
id("io.freefair.lombok") version "9.0.0-rc2"
|
|
id("com.gradleup.shadow") version '9.1.0'
|
|
}
|
|
|
|
|
|
dependencies {
|
|
api 'com.github.luben:zstd-jni:1.5.7-4'
|
|
api "io.ib67.kiwi:lang:1.2.3-SNAPSHOT"
|
|
compileOnly 'io.netty:netty-all:4.2.6.Final'
|
|
compileOnly 'it.unimi.dsi:fastutil:8.5.15'
|
|
compileOnly 'org.lz4:lz4-java:1.8.0'
|
|
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
}
|
|
|
|
configurations {
|
|
testRuntimeOnly {
|
|
extendsFrom compileOnly
|
|
}
|
|
testCompileOnly {
|
|
extendsFrom compileOnly
|
|
}
|
|
}
|
|
|
|
shadowJar {
|
|
minimize()
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes(Map.of("Main-Class", "io.ib67.sfcraft.bundler.Main"))
|
|
}
|
|
} |