HMCL/HMCLAPI/build.gradle

40 lines
1.1 KiB
Groovy
Raw Permalink Normal View History

/*
2015-12-10 20:34:02 +08:00
* Hello Minecraft! Launcher.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
*
2015-12-10 20:34:02 +08:00
* 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
2015-12-10 20:34:02 +08:00
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
2015-12-10 20:34:02 +08:00
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
2015-12-10 20:34:02 +08:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
2015-12-10 20:34:02 +08:00
*
* You should have received a copy of the GNU General Public License
2015-12-10 20:34:02 +08:00
* along with this program. If not, see {http://www.gnu.org/licenses/}.
*/
2015-06-22 16:47:05 +08:00
apply plugin: 'me.tatarka.retrolambda'
if (!hasProperty('mainClass')) {
ext.mainClass = ''
}
2015-09-29 13:48:12 +08:00
if (System.getenv("BUILD_NUMBER") != null)
2015-11-17 12:51:04 +08:00
version = System.getenv("BUILD_NUMBER")
2015-09-29 13:48:12 +08:00
2015-06-22 16:47:05 +08:00
buildscript {
repositories {
mavenCentral();
dependencies {
classpath 'me.tatarka:gradle-retrolambda:3.1.0'
}
}
}
retrolambda {
2015-08-13 20:54:42 +08:00
javaVersion = JavaVersion.VERSION_1_6
2015-12-10 20:34:02 +08:00
}