Skip to content
This repository was archived by the owner on Feb 19, 2019. It is now read-only.

Commit adbd33a

Browse files
committed
Improved Gradle Config
Game version and mappings are defined in gradle.properties
1 parent 12addaa commit adbd33a

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ compileJava {
3030
}
3131

3232
minecraft {
33-
version = '1.12.1'
34-
runDir = 'run'
33+
version = project.gameVersion
34+
mappings = project.mappings
3535
tweakClass = 'me.zero.client.load.ClientTweaker'
36-
mappings = 'snapshot_20170805'
36+
runDir = 'run'
3737

3838
makeObfSourceJar = false
3939
}
@@ -55,7 +55,7 @@ repositories {
5555
dependencies {
5656
compile 'com.github.ZeroMemes:Alpine:1.4'
5757
compile 'net.jodah:typetools:0.5.0'
58-
compile('org.spongepowered:mixin:0.6.10-SNAPSHOT') {
58+
compile('org.spongepowered:mixin:0.7.1-SNAPSHOT') {
5959
exclude module: 'launchwrapper'
6060
exclude module: 'guava'
6161
exclude module: 'gson'

gradle.properties

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#
2+
# Copyright 2017 ZeroMemes
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
gameVersion = 1.12.1
18+
mappings = snapshot_20170805

0 commit comments

Comments
 (0)