Compile with Java 7, drop Java 6 support
This commit is contained in:
parent
c427f60e15
commit
4811d6deab
@ -94,7 +94,7 @@ version = "${mcVersion}-${forgeVersion}.${revision}"
|
|||||||
println "Updated KCauldron version: ${version}"
|
println "Updated KCauldron version: ${version}"
|
||||||
|
|
||||||
launch4j {
|
launch4j {
|
||||||
jreMinVersion = '1.6.0'
|
jreMinVersion = '1.7.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.packageUniversal {
|
tasks.packageUniversal {
|
||||||
@ -175,6 +175,9 @@ publishing {
|
|||||||
tasks.generateProjectCauldron << {
|
tasks.generateProjectCauldron << {
|
||||||
def file = new File('eclipse/cauldron/build.gradle')
|
def file = new File('eclipse/cauldron/build.gradle')
|
||||||
file.append('''
|
file.append('''
|
||||||
|
sourceCompatibility = '1.7'
|
||||||
|
targetCompatibility = '1.7'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
url 'https://prok.pw/repo'
|
url 'https://prok.pw/repo'
|
||||||
|
Loading…
Reference in New Issue
Block a user