43 lines
No EOL
966 B
Groovy
43 lines
No EOL
966 B
Groovy
plugins {
|
|
id 'java'
|
|
id "edu.sc.seis.launch4j" version "2.4.8"
|
|
id "com.github.johnrengelman.shadow" version "5.2.0"
|
|
}
|
|
|
|
group 'ley.jmclient'
|
|
version '1.0'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url "https://data.tilera.xyz/maven"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
|
|
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.12'
|
|
compile group: 'org.apache.httpcomponents', name: 'httpmime', version: '4.5.3'
|
|
compile group: 'ley.jensmemes', name: 'jensmemeslib', version: '1.0-SNAPSHOT'
|
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes 'Main-Class': 'ley.jmclient.Main'
|
|
}
|
|
}
|
|
|
|
shadowJar {
|
|
classifier = ''
|
|
}
|
|
|
|
launch4j {
|
|
mainClassName = 'ley.jmclient.Main'
|
|
icon = "${projectDir}/src/main/resources/icon.ico"
|
|
}
|
|
|
|
build {
|
|
dependsOn tasks.shadowJar
|
|
dependsOn tasks.launch4j
|
|
} |