Now can choose Java Installation in Windows
This commit is contained in:
@@ -15,13 +15,16 @@
|
||||
* along with this program.
|
||||
*/
|
||||
apply plugin: 'launch4j'
|
||||
apply plugin: 'me.tatarka.retrolambda'
|
||||
|
||||
if (!hasProperty('mainClass')) {
|
||||
ext.mainClass = 'org.jackhuang.hellominecraft.svrmgr.Main'
|
||||
}
|
||||
|
||||
def buildnumber = System.getenv("BUILD_NUMBER") == null ? "" : "."+System.getenv("BUILD_NUMBER")
|
||||
|
||||
String mavenGroupId = 'HMCSM'
|
||||
String mavenVersion = '0.8.6'
|
||||
String mavenVersion = '0.8.6' + buildnumber
|
||||
String bundleName = "Hello Minecraft! Server Manager"
|
||||
|
||||
group = mavenGroupId
|
||||
@@ -35,6 +38,7 @@ buildscript {
|
||||
dependencies {
|
||||
classpath 'net.sf.proguard:proguard-gradle:4.10'
|
||||
classpath 'edu.sc.seis.gradle:launch4j:1.0.6'
|
||||
classpath 'me.tatarka:gradle-retrolambda:3.1.0'
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -47,6 +51,10 @@ configure(install.repositories.mavenInstaller) {
|
||||
}
|
||||
}
|
||||
|
||||
retrolambda {
|
||||
javaVersion = JavaVersion.VERSION_1_7
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile project(":HMCLAPI")
|
||||
compile project(":MetroLookAndFeel")
|
||||
@@ -79,6 +87,7 @@ task proguard(type: proguard.gradle.ProGuardTask, dependsOn: jar) {
|
||||
|
||||
configuration 'proguard.pro'
|
||||
}
|
||||
|
||||
processResources {
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
exclude 'icon.icns'
|
||||
|
||||
Reference in New Issue
Block a user