Skip to content

Commit

Permalink
support jdk11
Browse files Browse the repository at this point in the history
  • Loading branch information
harbby committed Aug 19, 2020
1 parent bdb728d commit 0615679
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions profile-java11.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
sourceCompatibility = 11
targetCompatibility = 11

if (project == project(':sylph-web')) {
project.dependencies {
compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.0'
compile group: 'javax.activation', name: 'activation', version: '1.1.1'
}
}

tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
options.compilerArgs << "--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED"
Expand Down

0 comments on commit 0615679

Please sign in to comment.