Skip to content

Commit

Permalink
Add OpenJDK11 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
lhaeger committed Nov 17, 2019
1 parent 0b9d892 commit 2ad39e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ task proguard(type: proguard.gradle.ProGuardTask, dependsOn: 'jar') {
injars jar.archivePath
outjars 'build/libs/' + project.name + '-' + project.version + '-min.jar'
libraryjars System.getProperty('java.home') + '/lib/rt.jar'
libraryjars System.getProperty('java.home') + '/jmods/'
}

// Java executable wrapper for Windows //
Expand Down
2 changes: 1 addition & 1 deletion services/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'java'

dependencies {
compile 'com.fifesoft:rsyntaxtextarea:2.5.6'
compile 'com.fifesoft:rsyntaxtextarea:3.0.4'
compile 'org.ow2.asm:asm:7.1'
compile 'org.jd:jd-core:' + parent.jdCoreVersion
compile project(':api')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public void copy() {
if (textArea.getSelectionStart() == textArea.getSelectionEnd()) {
getToolkit().getSystemClipboard().setContents(new StringSelection(""), null);
} else {
textArea.copyAsRtf();
textArea.copyAsStyledText();
}
}

Expand Down

0 comments on commit 2ad39e0

Please sign in to comment.