Skip to content

Commit

Permalink
add 工具链
Browse files Browse the repository at this point in the history
  • Loading branch information
orz12 committed Dec 22, 2024
1 parent c682a78 commit 167da55
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ plugins {
id "com.android.application"
id "kotlin-android"
id "dev.flutter.flutter-gradle-plugin"
id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0")
}

def localProperties = new Properties()
Expand Down Expand Up @@ -50,6 +51,10 @@ android {
jvmTarget = '21'
}

kotlin {
jvmToolchain(17)
}

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
Expand Down

0 comments on commit 167da55

Please sign in to comment.