2
0
mirror of https://github.com/HMCL-dev/HMCL.git synced 2025-04-12 18:30:26 +08:00
HMCL/build.gradle

70 lines
1.7 KiB
Groovy
Raw Permalink Normal View History

/*
2015-12-10 20:34:02 +08:00
* Hello Minecraft! Launcher.
2017-08-01 13:51:48 +08:00
* Copyright (C) 2017 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
2017-08-01 13:51:48 +08:00
group 'org.jackhuang'
version '3.0'
2015-06-22 16:47:05 +08:00
2017-08-01 13:51:48 +08:00
buildscript {
2017-11-04 11:07:36 +08:00
ext.kotlin_version = '1.1.51'
2017-08-01 13:51:48 +08:00
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
2017-08-27 12:49:56 +08:00
classpath 'net.sf.proguard:proguard-gradle:5.3.3'
2017-08-01 13:51:48 +08:00
}
2015-06-22 16:47:05 +08:00
}
2017-08-01 13:51:48 +08:00
repositories {
mavenCentral()
}
allprojects {
group 'org.jackhuang'
version '3.0'
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'idea'
repositories {
mavenCentral()
jcenter()
}
sourceCompatibility = 1.8
2015-06-22 16:47:05 +08:00
2017-08-01 13:51:48 +08:00
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
2015-06-22 16:47:05 +08:00
}
2017-08-01 13:51:48 +08:00
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
2015-06-22 16:47:05 +08:00
}
2017-08-01 13:51:48 +08:00
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
compile "com.google.code.gson:gson:2.8.1"
2017-08-25 10:12:56 +08:00
compile "org.apache.commons:commons-compress:1.8.1"
2017-08-27 12:49:56 +08:00
compile "org.tukaani:xz:1.6"
2017-08-01 13:51:48 +08:00
testCompile group: 'junit', name: 'junit', version: '4.12'
}
}