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.

build.gradle 856B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. plugins {
  2. id 'org.jetbrains.kotlin.jvm' version '1.2.51'
  3. id 'application'
  4. }
  5. group 'de.jdcware.ktoconverter'
  6. version '0.0.1'
  7. mainClassName = 'de.jdcware.ktoconverter.MainKt'
  8. repositories {
  9. mavenCentral()
  10. }
  11. dependencies {
  12. compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
  13. compile group: 'org.apache.pdfbox', name: 'pdfbox', version: '2.0.11'
  14. compile group: 'org.apache.poi', name: 'poi', version: '3.9'
  15. compile group: 'no.tornado', name: 'tornadofx', version: '1.7.16'
  16. }
  17. compileKotlin {
  18. kotlinOptions.jvmTarget = "1.8"
  19. }
  20. compileTestKotlin {
  21. kotlinOptions.jvmTarget = "1.8"
  22. }
  23. jar {
  24. manifest {
  25. attributes(
  26. 'Main-Class': mainClassName
  27. )
  28. }
  29. // simple fat jar
  30. from {
  31. configurations.compile.collect {
  32. it.isDirectory() ? it : zipTree(it)
  33. }
  34. }
  35. }