Skip to content

Commit

Permalink
Go back to java 1.8 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tonidero committed Oct 31, 2023
1 parent c21a8df commit cc0b9e8
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 31 deletions.
4 changes: 2 additions & 2 deletions api-tester/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ android {
}

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

kotlinOptions {
Expand Down
6 changes: 3 additions & 3 deletions base-application.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ android {
}

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

kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
jvmTarget = JavaVersion.VERSION_1_8.toString()
}

buildFeatures {
Expand Down
4 changes: 2 additions & 2 deletions examples/CustomEntitlementComputationSample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ android {
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
Expand Down
6 changes: 3 additions & 3 deletions examples/MagicWeather/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ android {
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
buildFeatures {
buildConfig true
Expand Down
16 changes: 6 additions & 10 deletions examples/paywall-tester/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
buildFeatures {
compose true
Expand All @@ -67,10 +67,6 @@ android {
}
}

kotlin {
jvmToolchain(17)
}

dependencies {
implementation project(path: ':purchases')
implementation project(path: ':feature:amazon')
Expand All @@ -93,8 +89,8 @@ dependencies {
debugImplementation libs.compose.ui.tooling
debugImplementation libs.androidx.test.compose.manifest

implementation "com.emergetools.snapshots:snapshots-annotations:0.8.1"
implementation "com.emergetools.snapshots:snapshots-annotations:0.8.3"

androidTestImplementation "com.emergetools.snapshots:snapshots:0.8.1"
ksp "com.emergetools.snapshots:snapshots-processor:0.8.1"
androidTestImplementation "com.emergetools.snapshots:snapshots:0.8.3"
ksp "com.emergetools.snapshots:snapshots-processor:0.8.3"
}
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ commonmark = "0.21.0"
activity-compose = "1.7.2"
fragment = "1.6.1"
emergetools = "2.1.3"
ksp = "1.8.0-1.0.9" # We are still using kotlin 1.8.0
ksp = "1.8.0-1.0.8" # We are still using kotlin 1.8.0

[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
Expand Down
6 changes: 3 additions & 3 deletions library.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
}

Expand Down
10 changes: 3 additions & 7 deletions ui/revenuecatui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ android {
}
}

kotlin {
jvmToolchain(17)
}

dependencies {
implementation project(path: ':purchases')

Expand Down Expand Up @@ -73,10 +69,10 @@ dependencies {
debugImplementation libs.compose.ui.tooling
debugImplementation libs.androidx.test.compose.manifest

androidTestImplementation "com.emergetools.snapshots:snapshots:0.8.1"
androidTestImplementation "com.emergetools.snapshots:snapshots:0.8.3"
// For Compose @Preview snapshot generation from the main source set:
ksp "com.emergetools.snapshots:snapshots-processor:0.8.1"
kspAndroidTest "com.emergetools.snapshots:snapshots-processor:0.8.1"
ksp "com.emergetools.snapshots:snapshots-processor:0.8.3"
kspAndroidTest "com.emergetools.snapshots:snapshots-processor:0.8.3"

testImplementation libs.bundles.test
testImplementation libs.coroutines.test
Expand Down

0 comments on commit cc0b9e8

Please sign in to comment.