Skip to content

Commit

Permalink
JDK 21 & API 35 (#345)
Browse files Browse the repository at this point in the history
* JDK 21

* Bump compile/target SDK
  • Loading branch information
LordRaydenMK authored Oct 24, 2024
1 parent 387cc6b commit 11ee25d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
Expand Down
10 changes: 5 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ plugins {

android {
namespace 'io.github.lordraydenmk.superheroesapp'
compileSdk 34
compileSdk 35

defaultConfig {
applicationId "io.github.lordraydenmk.superheroesapp"
minSdkVersion 26
targetSdkVersion 34
targetSdkVersion 35
versionCode 1
versionName "1.0"

Expand Down Expand Up @@ -43,12 +43,12 @@ android {
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
sourceCompatibility JavaVersion.VERSION_21
targetCompatibility JavaVersion.VERSION_21
}
// For Kotlin projects
kotlinOptions {
jvmTarget = "17"
jvmTarget = "21"
}

testOptions {
Expand Down

0 comments on commit 11ee25d

Please sign in to comment.