Skip to content

Commit

Permalink
Bump java version to 17
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Scherzinger <[email protected]>
  • Loading branch information
AndyScherzinger committed Nov 27, 2023
1 parent 53d57ca commit c835f67
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 12 deletions.
8 changes: 5 additions & 3 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ android {
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '17'
}
namespace 'com.nextcloud.android.common.core'

Expand Down Expand Up @@ -50,6 +50,8 @@ afterEvaluate {
// You can then customize attributes of the publication as shown below.
groupId = project.group
artifactId = project.name

from components.release
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
jdk:
- openjdk11
- openjdk17
4 changes: 2 additions & 2 deletions material-color-utilities/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ plugins {
}

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

dependencies {
Expand Down
6 changes: 3 additions & 3 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '17'
}
buildFeatures {
viewBinding true
Expand Down
8 changes: 5 additions & 3 deletions ui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ android {
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '17'
}
namespace 'com.nextcloud.android.common.ui'

Expand Down Expand Up @@ -60,6 +60,8 @@ afterEvaluate {
// You can then customize attributes of the publication as shown below.
groupId = project.group
artifactId = project.name

from components.release
}
}
}
Expand Down

0 comments on commit c835f67

Please sign in to comment.