Skip to content

Commit

Permalink
Change javac source and target options to 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanue1 committed Mar 18, 2019
1 parent 899ba4e commit 09dd62c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ apply plugin: 'nebula.ospackage'

// Common configuration //
version='1.4.2'
targetCompatibility = '1.7'
targetCompatibility = '1.8'

allprojects {
apply plugin: 'eclipse'
apply plugin: 'idea'

tasks.withType(JavaCompile) {
sourceCompatibility = targetCompatibility = '1.7'
sourceCompatibility = targetCompatibility = '1.8'
options.compilerArgs << '-Xlint:unchecked'
}
tasks.withType(GroovyCompile) {
sourceCompatibility = targetCompatibility = '1.7'
sourceCompatibility = targetCompatibility = '1.8'
options.compilerArgs << '-Xlint:unchecked'
}

Expand Down
2 changes: 1 addition & 1 deletion src/osx/resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
<key>JavaX</key>
<dict>
<key>MainClass</key> <string>org.jd.gui.OsxApp</string>
<key>JVMVersion</key> <string>1.7+</string>
<key>JVMVersion</key> <string>1.8+</string>
<key>ClassPath</key> <string>\$JAVAROOT/jd-gui-${VERSION}.jar</string>
<key>WorkingDirectory</key> <string>\$JAVAROOT</string>
<key>Properties</key>
Expand Down

0 comments on commit 09dd62c

Please sign in to comment.