build.gradle 514 B

1234567891011121314151617181920212223242526272829303132
  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. implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0-RC'
  12. testImplementation 'org.jetbrains.kotlin:kotlin-test'
  13. }
  14. test {
  15. useJUnitPlatform()
  16. }
  17. compileKotlin {
  18. kotlinOptions.jvmTarget = '1.8'
  19. }
  20. compileTestKotlin {
  21. kotlinOptions.jvmTarget = '1.8'
  22. }
  23. application {
  24. mainClassName = 'MainKt'
  25. }