build.gradle 326 B

12345678910111213141516171819202122232425
  1. plugins {
  2. id 'org.jetbrains.kotlin.jvm' version '1.5.21'
  3. id 'application'
  4. }
  5. group = 'cn.yyxx'
  6. version = '1.0-SNAPSHOT'
  7. repositories {
  8. mavenCentral()
  9. }
  10. compileKotlin {
  11. kotlinOptions.jvmTarget = '1.8'
  12. }
  13. compileTestKotlin {
  14. kotlinOptions.jvmTarget = '1.8'
  15. }
  16. application {
  17. mainClassName = 'MainKt'
  18. }