Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
fix: bring back Java 8 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski committed Jul 4, 2024
1 parent a9488f6 commit 1e144f0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
7 changes: 3 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,17 @@ android {
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

kotlinOptions {
jvmTarget = "17"
jvmTarget = "1.8"
}
namespace 'com.google.maps.android.ktx.demo'
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation libs.kotlinStdlib
implementation libs.androidxAppcompat
implementation libs.androidxCoreKtx
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ subprojects { project ->

// Code coverage
jacoco {
toolVersion = "0.8.7"
toolVersion = "0.8.12"
}


Expand Down
6 changes: 3 additions & 3 deletions maps-ktx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ android {
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

kotlinOptions {
freeCompilerArgs += '-Xexplicit-api=strict'
jvmTarget = "17"
jvmTarget = "1.8"
}
buildFeatures {
viewBinding true
Expand Down
6 changes: 3 additions & 3 deletions maps-utils-ktx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ android {
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

kotlinOptions {
freeCompilerArgs += '-Xexplicit-api=strict'
jvmTarget = "17"
jvmTarget = "1.8"
}
buildFeatures {
viewBinding true
Expand Down

0 comments on commit 1e144f0

Please sign in to comment.