Skip to content

Commit 62788d1

Browse files
committed
i've forced gradle to use java platform version 1.6 (major version 50)
note that this is dependant on using rt.jar from java 1.6, or in OSX classes.jar. I've hardcoded the path in buld.gradle, you'll probably need to change it for your OS.
1 parent 8e26e91 commit 62788d1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

SimpleKML/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@ sourceSets {
99
java.srcDirs = ['src']
1010
}
1111
}
12+
13+
compileJava {
14+
sourceCompatibility = 1.6
15+
targetCompatibility = 1.6
16+
options.bootClasspath = "/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Classes/classes.jar"
17+
}

0 commit comments

Comments
 (0)