plugins {
    id 'com.github.johnrengelman.shadow' version '6.1.0'
    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 "io.netty:netty-handler:4.1.54.Final"
    compile group: 'net.kyori', name: 'adventure-nbt', version: '4.1.1'
}

jar {
    manifest {
        attributes('Main-Class': 'ru.nanit.limbo.NanoLimbo')
    }
}

shadowJar{
    minimize()
}