Skip to content

Commit

Permalink
Use jvmToolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
p1gp1g committed Dec 26, 2023
1 parent 20b483c commit 9feffd0
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ plugins {
id 'kotlin-android'
}

kotlin {
jvmToolchain(17)
}

android {
compileSdk 34

Expand All @@ -19,15 +23,6 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = '17'
}

buildTypes {
release {
minifyEnabled true
Expand Down

0 comments on commit 9feffd0

Please sign in to comment.