Skip to content

Commit

Permalink
Use Java 11 source code
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarty committed Sep 2, 2021
1 parent 616e5b1 commit 80f23f1
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions attachment-viewer/build.gradle
Expand Up @@ -34,11 +34,11 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = '1.8'
jvmTarget = "11"
}

buildFeatures {
Expand Down
3 changes: 0 additions & 3 deletions diff-match-patch/build.gradle
Expand Up @@ -3,6 +3,3 @@ apply plugin: 'java-library'
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
}

sourceCompatibility = "8"
targetCompatibility = "8"
9 changes: 6 additions & 3 deletions library/ui-styles/build.gradle
Expand Up @@ -39,13 +39,16 @@ android {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

kotlinOptions {
jvmTarget = '1.8'
jvmTarget = "11"
}

buildFeatures {
viewBinding true
}
Expand Down
6 changes: 3 additions & 3 deletions matrix-sdk-android-rx/build.gradle
Expand Up @@ -24,12 +24,12 @@ android {
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "11"
}
}

Expand Down
6 changes: 3 additions & 3 deletions matrix-sdk-android/build.gradle
Expand Up @@ -72,12 +72,12 @@ android {
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "11"
}

sourceSets {
Expand Down
6 changes: 3 additions & 3 deletions vector/build.gradle
Expand Up @@ -288,12 +288,12 @@ android {
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "11"
}

sourceSets {
Expand Down

0 comments on commit 80f23f1

Please sign in to comment.