Skip to content

Commit

Permalink
Set compile options to work with Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-Verkhovsky committed Sep 23, 2021
1 parent dc8164d commit 9c8a639
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ android {
outputFileName = "FPJS-Pro-Playground-${variant.name}-${variant.versionName}.apk"
}
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

kotlinOptions {
jvmTarget = '11'
}
}

dependencies {
Expand Down
8 changes: 8 additions & 0 deletions fpjs-pro/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ android {
}
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

kotlinOptions {
jvmTarget = '11'
}
}

dependencies {
Expand Down

0 comments on commit 9c8a639

Please sign in to comment.