Skip to content

Commit

Permalink
Bump project to use Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
Andr3Carvalh0 committed Dec 17, 2023
1 parent 9cdeaf6 commit 1dc64b0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
with:
fetch-depth: 1

- name: set up JDK 11
- name: set up JDK 17
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 11
java-version: 17
cache: gradle

- name: unit tests
Expand Down
4 changes: 3 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission
android:name="android.permission.READ_EXTERNAL_STORAGE"
android:maxSdkVersion="32" />

<queries>
<intent>
Expand Down
6 changes: 3 additions & 3 deletions buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ object Versions {
}

object Build {
val JAVA_VERSION = JavaVersion.VERSION_1_8
const val JVM_TARGET = "1.8"
val JAVA_VERSION = JavaVersion.VERSION_17
const val JVM_TARGET = "17"

const val GRADLE_TOOLS = "8.2.0"
const val KOTLIN_GRADLE = "1.7.20"
const val KOTLIN_GRADLE = "1.9.21"
const val KOTLIN_JVM = "1.9.21"
}

Expand Down

0 comments on commit 1dc64b0

Please sign in to comment.