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.

38 lines
1.0 KiB

7 years ago
7 years ago
7 years ago
  1. plugins {
  2. id 'org.jetbrains.kotlin.jvm' version '1.2.60'
  3. }
  4. repositories {
  5. mavenCentral()
  6. }
  7. dependencies {
  8. compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
  9. compile 'org.jsoup:jsoup:1.11.3'
  10. compile 'org.zeroturnaround:zt-zip:1.13'
  11. compile 'org.slf4j:slf4j-simple:1.6.4'
  12. compile 'com.sun.mail:javax.mail:1.6.1'
  13. compile 'info.picocli:picocli:3.4.0'
  14. compile 'com.google.code.gson:gson:2.8.5'
  15. compile 'org.ini4j:ini4j:0.5.4'
  16. compile 'org.xerial:sqlite-jdbc:3.25.2'
  17. testCompile 'org.junit.jupiter:junit-jupiter-api:5.2.0'
  18. testRuntime 'org.junit.jupiter:junit-jupiter-engine:5.2.0'
  19. }
  20. compileKotlin {
  21. kotlinOptions {
  22. jvmTarget = "1.8"
  23. }
  24. }
  25. compileTestKotlin {
  26. kotlinOptions {
  27. jvmTarget = "1.8"
  28. }
  29. }
  30. //create a single Jar with all dependencies
  31. task fatJar(type: Jar) {
  32. manifest {
  33. attributes 'Main-Class': 'bandcampcollectiondownloader.MainKt'
  34. }
  35. baseName = project.name
  36. from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
  37. with jar
  38. }