build.gradle 438 B

12345678910111213141516171819202122232425262728293031
  1. plugins {
  2. id 'org.jetbrains.kotlin.jvm' version '1.5.10'
  3. id 'application'
  4. }
  5. group = 'me.stanislav'
  6. version = '1.0-SNAPSHOT'
  7. repositories {
  8. mavenCentral()
  9. }
  10. dependencies {
  11. testImplementation 'org.jetbrains.kotlin:kotlin-test'
  12. }
  13. test {
  14. useJUnitPlatform()
  15. }
  16. compileKotlin {
  17. kotlinOptions.jvmTarget = '1.8'
  18. }
  19. compileTestKotlin {
  20. kotlinOptions.jvmTarget = '1.8'
  21. }
  22. application {
  23. mainClassName = 'MainKt'
  24. }