Skip to content

Commit

Permalink
Upgrade to JDK 17
Browse files Browse the repository at this point in the history
  • Loading branch information
yostyle committed Jun 10, 2024
1 parent 77bf5d2 commit c552728
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ ext.versions = [
'minSdk' : 21,
'compileSdk' : 33,
'targetSdk' : 33,
'sourceCompat' : JavaVersion.VERSION_11,
'targetCompat' : JavaVersion.VERSION_11,
'sourceCompat' : JavaVersion.VERSION_17,
'targetCompat' : JavaVersion.VERSION_17,
]

def gradle = "7.4.2"
Expand Down
2 changes: 1 addition & 1 deletion library/attachment-viewer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ android {
targetCompatibility versions.targetCompat
}
kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"
}

buildFeatures {
Expand Down
2 changes: 1 addition & 1 deletion library/core-utils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ android {
}

kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"
freeCompilerArgs += [
"-opt-in=kotlin.RequiresOptIn"
]
Expand Down
2 changes: 1 addition & 1 deletion library/external/autocomplete/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
}

kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"
}
}

Expand Down
2 changes: 1 addition & 1 deletion library/external/dialpad/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
}

kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"
}
}

Expand Down
2 changes: 1 addition & 1 deletion library/external/jsonviewer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ android {
}

kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"
}
}

Expand Down
2 changes: 1 addition & 1 deletion library/multipicker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ android {
}

kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"
}
}

Expand Down
2 changes: 1 addition & 1 deletion library/ui-strings/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android {
}

kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"
}
}

Expand Down
2 changes: 1 addition & 1 deletion library/ui-styles/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ android {
}

kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"
}

buildFeatures {
Expand Down
2 changes: 1 addition & 1 deletion matrix-sdk-android-flow/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ android {
targetCompatibility versions.targetCompat
}
kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"
}

// publishNonDefault true
Expand Down
2 changes: 1 addition & 1 deletion matrix-sdk-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ android {
}

kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"
freeCompilerArgs += [
// Disabled for now, there are too many errors. Could be handled in another dedicated PR
// '-Xexplicit-api=strict', // or warning
Expand Down
2 changes: 1 addition & 1 deletion vector-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ android {
}

kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"
freeCompilerArgs += [
"-opt-in=kotlin.RequiresOptIn",
// Fixes false positive "This is an internal Mavericks API. It is not intended for external use."
Expand Down
2 changes: 1 addition & 1 deletion vector-config/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ android {
}

kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"
}
}
2 changes: 1 addition & 1 deletion vector/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ android {
}

kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"
freeCompilerArgs += [
"-opt-in=kotlin.RequiresOptIn",
// Fixes false positive "This is an internal Mavericks API. It is not intended for external use."
Expand Down

0 comments on commit c552728

Please sign in to comment.