diff --git a/attachment-viewer/build.gradle b/attachment-viewer/build.gradle index e9ddefb62c..7705f72b58 100644 --- a/attachment-viewer/build.gradle +++ b/attachment-viewer/build.gradle @@ -37,7 +37,7 @@ android { targetCompatibility versions.targetCompat } kotlinOptions { - jvmTarget = '1.8' + jvmTarget = '11' } buildFeatures { diff --git a/diff-match-patch/build.gradle b/diff-match-patch/build.gradle index 82292e24db..f623c57a49 100644 --- a/diff-match-patch/build.gradle +++ b/diff-match-patch/build.gradle @@ -3,6 +3,3 @@ apply plugin: 'java-library' dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) } - -sourceCompatibility = "8" -targetCompatibility = "8" diff --git a/library/ui-styles/build.gradle b/library/ui-styles/build.gradle index abab4e65ad..91b479c49a 100644 --- a/library/ui-styles/build.gradle +++ b/library/ui-styles/build.gradle @@ -41,7 +41,7 @@ android { targetCompatibility versions.targetCompat } kotlinOptions { - jvmTarget = '1.8' + jvmTarget = '11' } buildFeatures { viewBinding true diff --git a/matrix-sdk-android-rx/build.gradle b/matrix-sdk-android-rx/build.gradle index 437f304b0b..dbd761cee3 100644 --- a/matrix-sdk-android-rx/build.gradle +++ b/matrix-sdk-android-rx/build.gradle @@ -27,7 +27,7 @@ android { } kotlinOptions { - jvmTarget = "1.8" + jvmTarget = "11" } } diff --git a/matrix-sdk-android/build.gradle b/matrix-sdk-android/build.gradle index f15746f73c..9674bdd372 100644 --- a/matrix-sdk-android/build.gradle +++ b/matrix-sdk-android/build.gradle @@ -72,7 +72,7 @@ android { } kotlinOptions { - jvmTarget = "1.8" + jvmTarget = "11" } sourceSets { diff --git a/vector/build.gradle b/vector/build.gradle index 8b4075f77b..f185df9ae4 100644 --- a/vector/build.gradle +++ b/vector/build.gradle @@ -296,7 +296,7 @@ android { } kotlinOptions { - jvmTarget = "1.8" + jvmTarget = "11" freeCompilerArgs += [ "-Xopt-in=kotlin.RequiresOptIn", // Fixes false positive "This is an internal Mavericks API. It is not intended for external use."