Skip to content

Commit

Permalink
fix: using Java 1.8 (#600)
Browse files Browse the repository at this point in the history
  • Loading branch information
kikoso authored Jul 9, 2024
1 parent b5cee56 commit c6333ef
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v4.2.1
with:
java-version: '17'
java-version: '21'
distribution: 'adopt'

# Run dokka and create tar
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/instrumentation-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v4.2.1
with:
java-version: '17'
java-version: '21'
distribution: 'adopt'

- name: Inject Maps API Key
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v4.2.1
with:
java-version: '17'
java-version: '21'
distribution: 'adopt'
- name: Create .gpg key
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v4.2.1
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'

- name: Build modules
Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle.kts
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
}

buildFeatures {
Expand All @@ -39,7 +39,7 @@ android {
}

kotlinOptions {
jvmTarget = "17"
jvmTarget = "1.8"
freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ junit = "4.13.2"
kotlin = "2.0.0"
kotlinxCoroutines = "1.8.1"
material = "1.12.0"
mapsktx = "5.1.0"
mapsktx = "5.1.1"
mapsecrets = "2.0.1"
org-jacoco-core = "0.8.11"

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

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

buildFeatures {
Expand All @@ -23,7 +23,7 @@ android {
}

kotlinOptions {
jvmTarget = "17"
jvmTarget = "1.8"
freeCompilerArgs += "-Xexplicit-api=strict"
freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
}
Expand Down
6 changes: 3 additions & 3 deletions maps-compose-widgets/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ android {
}

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

buildFeatures {
Expand All @@ -23,7 +23,7 @@ android {
}

kotlinOptions {
jvmTarget = "17"
jvmTarget = "1.8"
freeCompilerArgs += listOf(
"-Xexplicit-api=strict",
"-Xopt-in=kotlin.RequiresOptIn"
Expand Down
6 changes: 3 additions & 3 deletions maps-compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ android {
}

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

buildFeatures {
Expand All @@ -24,7 +24,7 @@ android {
}

kotlinOptions {
jvmTarget = "17"
jvmTarget = "1.8"
val stabilityConfigurationFile = layout.projectDirectory.file("compose_compiler_stability_config.conf").asFile
freeCompilerArgs += listOf(
"-Xexplicit-api=strict",
Expand Down

0 comments on commit c6333ef

Please sign in to comment.