diff --git a/.gitignore b/.gitignore index 00eaba66d..02180a5dd 100644 --- a/.gitignore +++ b/.gitignore @@ -22,4 +22,6 @@ hs_err_pid* HMCLAPI/build/ HMCL/build/ HMCSM/build/ -MetroLookAndFeel/build/ \ No newline at end of file +MetroLookAndFeel/build/ + +*.txt \ No newline at end of file diff --git a/HMCL/build.gradle b/HMCL/build.gradle index 31c8bcb19..0bad57abe 100644 --- a/HMCL/build.gradle +++ b/HMCL/build.gradle @@ -1,3 +1,19 @@ +/* + * Copyright 2013 huangyuhui + * + * 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' diff --git a/HMCLAPI/build.gradle b/HMCLAPI/build.gradle index 2ff7ecd79..a1fdbe079 100644 --- a/HMCLAPI/build.gradle +++ b/HMCLAPI/build.gradle @@ -1,3 +1,19 @@ +/* + * Copyright 2013 huangyuhui + * + * 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')) { diff --git a/HMCSM/build.gradle b/HMCSM/build.gradle index be0317039..b3e5d41f2 100644 --- a/HMCSM/build.gradle +++ b/HMCSM/build.gradle @@ -1,4 +1,19 @@ -//apply plugin: 'execjar' +/* + * Copyright 2013 huangyuhui + * + * 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' diff --git a/MetroLookAndFeel/build.gradle b/MetroLookAndFeel/build.gradle index 4b8a15165..ca51905ad 100644 --- a/MetroLookAndFeel/build.gradle +++ b/MetroLookAndFeel/build.gradle @@ -1,3 +1,19 @@ +/* + * Copyright 2013 huangyuhui + * + * 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')) { diff --git a/README.md b/README.md index c5ffbdbcf..1bbb52cd5 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file diff --git a/build.gradle b/build.gradle index bdff2c0c5..8b170a97c 100644 --- a/build.gradle +++ b/build.gradle @@ -1,3 +1,19 @@ +/* + * Copyright 2013 huangyuhui + * + * 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. diff --git a/common.gradle b/common.gradle index 61b1fc551..f06aa4dd7 100644 --- a/common.gradle +++ b/common.gradle @@ -1,7 +1,19 @@ -// -// This file is to be applied to every subproject. -// - +/* + * Copyright 2013 huangyuhui + * + * 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' diff --git a/settings.gradle b/settings.gradle index c0fd4b414..4d333bb76 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,3 +1,19 @@ +/* + * Copyright 2013 huangyuhui + * + * 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