PicoLimbo/build.gradle

28 lines
631 B
Groovy

plugins {
id 'java'
}
group 'ru.nanit'
version '1.0'
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile group: 'org.yaml', name: 'snakeyaml', version: '1.27'
compile files('libs/napi-configurate-yaml-1.0.jar')
compile group: 'io.netty', name: 'netty-all', version: '4.1.54.Final'
compile group: 'net.kyori', name: 'adventure-nbt', version: '4.1.1'
}
jar {
manifest {
attributes('Main-Class': 'ru.nanit.limbo.NanoLimbo')
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}