JMUploadClient/build.gradle

43 lines
957 B
Groovy
Raw Normal View History

2020-09-27 18:18:10 +02:00
plugins {
id 'java'
id "edu.sc.seis.launch4j" version "2.4.8"
id "com.github.johnrengelman.shadow" version "5.2.0"
}
group 'ley.jmclient'
2020-09-30 21:55:22 +02:00
version '1.0'
2020-09-27 18:18:10 +02:00
repositories {
mavenCentral()
2020-09-30 21:55:22 +02:00
maven {
url "https://data.tilera.xyz/maven"
}
2020-09-27 18:18:10 +02:00
}
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'
2020-09-30 22:12:01 +02:00
compile group: 'ley.jensmemes', name: 'jensmemeslib', version: '1.0'
2020-09-27 18:18:10 +02:00
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
}