Skip to content

Commit

Permalink
Set Java toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
azabost committed Dec 30, 2023
1 parent 22ce60c commit 05f139f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ android {

useLibrary 'android.test.runner'
useLibrary 'android.test.base'

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
}

dependencies {
Expand Down
4 changes: 4 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
}

include ':app'

0 comments on commit 05f139f

Please sign in to comment.