Skip to content

Commit

Permalink
use JDK 11 to bump mockk
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Leing committed Dec 13, 2023
1 parent b71778b commit b5084ef
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ block inside your app's `build.gradle`, as below:
android {
compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
}
```
Expand Down
6 changes: 6 additions & 0 deletions aws-auth-plugins-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ apply(from = rootProject.file("configuration/publishing.gradle"))

group = properties["POM_GROUP"].toString()

android {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
}
}

dependencies {
implementation(project(":core"))
implementation(project(":aws-core"))
Expand Down
2 changes: 1 addition & 1 deletion aws-datastore/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ dependencies {
}

afterEvaluate {
android.kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString()
android.kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString()
}
2 changes: 1 addition & 1 deletion aws-geo-location/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ dependencies {
}

afterEvaluate {
android.kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString()
android.kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString()
}
6 changes: 6 additions & 0 deletions aws-push-notifications-pinpoint-common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ apply(from = rootProject.file("configuration/publishing.gradle"))

group = properties["POM_GROUP"].toString()

android {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
}
}

dependencies {
implementation(project(":annotations"))
api(project(":common-core"))
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ fun Project.configureAndroid() {

compileOptions {
isCoreLibraryDesugaringEnabled = true
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

// Needed when running integration tests. The oauth2 library uses relies on two
Expand Down
4 changes: 2 additions & 2 deletions canaries/example/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = '1.8'
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ maplibre-annotations = "1.0.0"
material = "1.8.0"
mockito = "3.9.0"
mockito-inline = "3.11.2"
mockk = "1.12.3"
mockk = "1.13.8"
mockwebserver = "5.0.0-alpha.11"
navigation = "2.3.4"
oauth2 = "0.26.0"
Expand Down
2 changes: 1 addition & 1 deletion maplibre-adapter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ group = properties["POM_GROUP"].toString()

android {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
jvmTarget = JavaVersion.VERSION_11.toString()
}
lint {
disable += "GradleDependency"
Expand Down

0 comments on commit b5084ef

Please sign in to comment.