30 lines
528 B
Groovy
30 lines
528 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'com.github.johnrengelman.shadow' version '5.2.0'
|
|
}
|
|
|
|
group 'tech.nevets.jamlupdater'
|
|
version '1.0'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
sourceCompatibility = targetCompatibility = '17'
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.google.code.gson:gson:2.9.0'
|
|
implementation 'commons-io:commons-io:2.11.0'
|
|
}
|
|
|
|
shadowJar {
|
|
manifest {
|
|
attributes(
|
|
'Main-Class': 'tech.nevets.jamlupdater.Main'
|
|
)
|
|
}
|
|
} |