Skip to content

Commit

Permalink
update AGP to 8.0.0 and JAVA to 17 (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
andresmr authored Jul 29, 2023
1 parent 4933127 commit 634ee08
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '11'
java-version: '17'
cache: 'gradle'

- name: Change wrapper permissions
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '11'
java-version: '17'
cache: 'gradle'

- name: Change wrapper permissions
Expand Down
4 changes: 2 additions & 2 deletions android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ android {
versionName = "1.0-SNAPSHOT"
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
}

Expand Down
10 changes: 5 additions & 5 deletions common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ plugins {

kotlin {
android()
jvm("desktop") {
jvmToolchain(11)
}

jvm("desktop")

sourceSets {
val commonMain by getting {
dependencies {
Expand Down Expand Up @@ -52,8 +52,8 @@ android {
targetSdk = (findProperty("android.targetSdk") as String).toInt()
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
namespace = "org.hisp.dhis.common"
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ android.minSdk=24

#Versions
kotlin.version=1.8.20
agp.version=7.4.2
agp.version=8.0.0
compose.version=1.4.3

0 comments on commit 634ee08

Please sign in to comment.