You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

35 lines
891 B

plugins {
id 'org.jetbrains.kotlin.jvm' version '1.2.60'
}
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compile 'org.jsoup:jsoup:1.11.3'
compile 'org.zeroturnaround:zt-zip:1.13'
compile 'org.slf4j:slf4j-simple:1.6.4'
compile 'com.sun.mail:javax.mail:1.6.1'
compile 'info.picocli:picocli:3.4.0'
compile 'com.google.code.gson:gson:2.8.5'
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
//create a single Jar with all dependencies
task fatJar(type: Jar) {
manifest {
attributes 'Main-Class': 'bandcampcollectiondownloader.BandcampCollectionDownloaderKt'
}
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}