Merge pull request #274 from lhaeger/jdk11-compat
Add OpenJDK11 compatibility
Emmanuel Dupuy authored 4 years ago
GitHub committed 4 years ago
104 | 104 |
injars jar.archivePath
|
105 | 105 |
outjars 'build/libs/' + project.name + '-' + project.version + '-min.jar'
|
106 | 106 |
libraryjars System.getProperty('java.home') + '/lib/rt.jar'
|
|
107 |
libraryjars System.getProperty('java.home') + '/jmods/'
|
107 | 108 |
}
|
108 | 109 |
|
109 | 110 |
// Java executable wrapper for Windows //
|
0 | 0 |
apply plugin: 'java'
|
1 | 1 |
|
2 | 2 |
dependencies {
|
3 | |
compile 'com.fifesoft:rsyntaxtextarea:2.5.6'
|
|
3 |
compile 'com.fifesoft:rsyntaxtextarea:3.0.4'
|
4 | 4 |
compile 'org.ow2.asm:asm:7.1'
|
5 | 5 |
compile 'org.jd:jd-core:' + parent.jdCoreVersion
|
6 | 6 |
compile project(':api')
|
26 | 26 |
if (textArea.getSelectionStart() == textArea.getSelectionEnd()) {
|
27 | 27 |
getToolkit().getSystemClipboard().setContents(new StringSelection(""), null);
|
28 | 28 |
} else {
|
29 | |
textArea.copyAsRtf();
|
|
29 |
textArea.copyAsStyledText();
|
30 | 30 |
}
|
31 | 31 |
}
|
32 | 32 |
|