Browse Source

Kotlin: Set Java target to 11

pull/10/head
Francisco Cunha 7 months ago
parent
commit
552265b5a4
Signed by untrusted user: Francisco GPG Key ID: 6C4E6D412A9AD698
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      build-gradle/transport/build.gradle

+ 12
- 0
build-gradle/transport/build.gradle View File

@ -15,6 +15,18 @@ sourceSets {
main.kotlin.srcDirs = ['../../src']
}
compileKotlin {
kotlinOptions {
jvmTarget = "11"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "11"
}
}
dependencies {
implementation platform('org.jetbrains.kotlin:kotlin-bom')
implementation fileTree(dir: '../../libs', include: ['*.jar'])


Loading…
Cancel
Save