25 lines
659 B
Groovy
25 lines
659 B
Groovy
apply plugin: 'groovy'
|
|
apply plugin: 'application'
|
|
|
|
mainClassName = 'com.jdbernard.nlsongs.NLSongsUploader'
|
|
|
|
dependencies {
|
|
compile localGroovy()
|
|
compile 'ch.qos.logback:logback-classic:1.1.8'
|
|
compile 'ch.qos.logback:logback-core:1.1.8'
|
|
compile 'org.slf4j:slf4j-api:1.7.22'
|
|
compile 'com.impossibl.pgjdbc-ng:pgjdbc-ng:0.6'
|
|
compile 'com.zaxxer:HikariCP:2.5.1'
|
|
compile 'com.miglayout:miglayout-swing:5.0'
|
|
compile project(':service')
|
|
}
|
|
|
|
task writeVersionFile(
|
|
group: 'build',
|
|
description: 'Write the version to VERSION.txt') { doLast {
|
|
|
|
(new File("${buildDir}/classes/main/VERSION.txt")).text = version
|
|
} }
|
|
|
|
build.dependsOn writeVersionFile
|