it seems that i forgot something i should do.

This commit is contained in:
huanghongxun 2015-06-22 17:35:23 +08:00
parent c760461f91
commit 7bfe7c3432
9 changed files with 122 additions and 25 deletions

4
.gitignore vendored
View File

@ -22,4 +22,6 @@ hs_err_pid*
HMCLAPI/build/
HMCL/build/
HMCSM/build/
MetroLookAndFeel/build/
MetroLookAndFeel/build/
*.txt

View File

@ -1,3 +1,19 @@
/*
* Copyright 2013 huangyuhui <huanghongxun2008@126.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*/
apply plugin: 'launch4j'
apply plugin: 'me.tatarka.retrolambda'

View File

@ -1,3 +1,19 @@
/*
* Copyright 2013 huangyuhui <huanghongxun2008@126.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*/
apply plugin: 'me.tatarka.retrolambda'
if (!hasProperty('mainClass')) {

View File

@ -1,4 +1,19 @@
//apply plugin: 'execjar'
/*
* Copyright 2013 huangyuhui <huanghongxun2008@126.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*/
apply plugin: 'launch4j'
if (!hasProperty('mainClass')) {
@ -17,15 +32,7 @@ String mavenArtifactId = name
buildscript {
repositories {
mavenCentral();
// You may define additional repositories, or even remove "mavenCentral()".
// Read more about repositories here:
// http://www.gradle.org/docs/current/userguide/dependency_management.html#sec:repositories
/*
maven {
url uri('../../../../repo')
}*/
dependencies {
//classpath 'org.jackhuang.gradle:ExecJar:1.0-SNAPSHOT'
classpath 'net.sf.proguard:proguard-gradle:4.10'
classpath 'edu.sc.seis.gradle:launch4j:1.0.6'
}
@ -72,15 +79,6 @@ task proguard(type: proguard.gradle.ProGuardTask, dependsOn: jar) {
configuration 'proguard.pro'
}
/*
execjar.suffix = 'proguard'
execjar.version = mavenVersion
execjar.group = mavenGroupId
execjar.mainClass = mainClass
execjar.bundleName = bundleName
execjar.dependsOn proguard
*/
processResources {
from(sourceSets.main.resources.srcDirs) {
exclude 'icon.icns'

View File

@ -1,3 +1,19 @@
/*
* Copyright 2013 huangyuhui <huanghongxun2008@126.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*/
apply plugin: 'me.tatarka.retrolambda'
if (!hasProperty('mainClass')) {

View File

@ -1,2 +1,7 @@
# HMCLJava
Hello Minecraft! Launcher
# Hello Minecraft! Launcher
Hello Minecraft! Launcher is a Minecraft launcher.
If you really want to join the development, here's some requests.
1) The Development Environment is Netbeans 8.0.2 with Gradle Support plugin.
2) The project is built in Java 1.8, using the retrolambda backported to Java 1.7. So DO NOT use the libraries of Java 8 like Stream APIs.
3) DO NOT modify *.gradle.

View File

@ -1,3 +1,19 @@
/*
* Copyright 2013 huangyuhui <huanghongxun2008@126.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*/
import org.gradle.api.artifacts.*
apply plugin: 'base' // To add "clean" task to the root project.

View File

@ -1,7 +1,19 @@
//
// This file is to be applied to every subproject.
//
/*
* Copyright 2013 huangyuhui <huanghongxun2008@126.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*/
apply plugin: 'java'
apply plugin: 'maven'

View File

@ -1,3 +1,19 @@
/*
* Copyright 2013 huangyuhui <huanghongxun2008@126.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*/
rootProject.name = 'HMCL'
// Find the directories containing a "build.gradle" file in the root directory