Skip to content

Commit

Permalink
Merge pull request #274 from lhaeger/jdk11-compat
Browse files Browse the repository at this point in the history
Add OpenJDK11 compatibility
  • Loading branch information
emmanue1 authored Nov 17, 2019
2 parents 3443db2 + 2ad39e0 commit b925383
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 b925383

Please sign in to comment.