-
Notifications
You must be signed in to change notification settings - Fork 101
/
build.gradle
56 lines (51 loc) · 1.35 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
buildscript {
repositories {
mavenLocal()
maven { url = 'http://files.minecraftforge.net/maven' }
maven { url = 'http://repo.strezz.org/artifactory/list/Strezz-Central/'}
jcenter()
mavenCentral()
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:3.0.28'
}
}
apply plugin: 'eclipse'
group = 'pre-mcp'
version = '1.0.0'
project(':mcp') {
apply plugin: 'net.minecraftforge.gradle.forgedev.mcp'
mcp {
config = 'de.oceanlabs.mcp:mcp_config:1.13.1'
pipeline = 'joined'
}
}
evaluationDependsOn(':mcp')
apply plugin: 'eclipse'
apply plugin: 'net.minecraftforge.gradle.forgedev.patcher'
repositories {
mavenCentral()
maven { url = 'http://repo.strezz.org/artifactory/list/Strezz-Central/'}
}
patcher {
parent = project(':mcp')
patchedSrc = file('src/main/java')
mappings channel: 'snapshot', version: '20181014-1.13.1'
mcVersion = '1.13.1'
}
task runclient(type: JavaExec) {
group = "MCP"
description = "Runs the client"
doFirst {
mkdir 'runclient'
}
classpath sourceSets.main.runtimeClasspath
args = ['--accessToken', '0', '--version', '1.13']
main 'net.minecraft.client.main.Main'
workingDir 'runclient'
}
task setup() {
group = "MCP"
description = "Setups the dev workspace"
dependsOn ':extractMapped'
}