38 lines
631 B
Groovy
38 lines
631 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'application'
|
|
}
|
|
|
|
group 'tech.nevets.jaml'
|
|
version '0.1.0'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url 'https://jitpack.io'
|
|
}
|
|
}
|
|
|
|
sourceCompatibility = targetCompatibility = '17'
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
application {
|
|
mainModule = 'tech.nevets.jaml'
|
|
mainClass = 'tech.nevets.jaml.JAML'
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'me.carleslc.Simple-YAML:Simple-Yaml:1.7.3'
|
|
implementation 'com.google.code.gson:gson:2.9.0'
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes(
|
|
'Main-Class': 'tech.nevets.jaml.JAML'
|
|
)
|
|
}
|
|
} |