Color change test with kotlin and tornadofx
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 753B

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