Now can choose Java Installation in Windows

This commit is contained in:
huanghongxun
2015-08-04 15:13:04 +08:00
parent 4a167253db
commit 95598df273
15 changed files with 887 additions and 625 deletions

View File

@@ -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'