-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle
73 lines (63 loc) · 1.77 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
buildscript {
repositories {
mavenLocal()
mavenCentral()
maven {
name = "sonatype"
url = "https://oss.sonatype.org/content/repositories/snapshots/"
}
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
maven {
name = 'sponge'
url = 'http://repo.spongepowered.org/maven'
}
jcenter()
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
//classpath 'org.spongepowered:mixingradle:0.4-SNAPSHOT'
}
}
apply plugin: 'java'
configurations {
provided
compile.extendsFrom(provided)
}
version = "0.1"
group = "pokechu22"
archivesBaseName = "mcrdp"
apply plugin: 'net.minecraftforge.gradle.liteloader'
//apply plugin: 'org.spongepowered.mixin'
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
provided 'unoficial.net.propero:properjavardp:1.1-tweaked-0.4-SNAPSHOT:mcdep@jar' // github.com/pokechu22/properjavardp
// @jar is used so that only mcdep dependencies are added (and not, say, log4j).
}
minecraft {
version = "1.12.2"
mappings = "snapshot_20170927"
runDir = "run"
makeObfSourceJar = false
}
libsDirName = "../libs/${version}"
litemod {
json {
name = "mcrdp"
displayName = "Minecraft RDP"
author = "pokechu22; properJavaRDP contributors"
mcversion = "1.12.2"
//mixinConfigs += "mixins.mcrdp.json"
version = project.version
description = "Extremely useless mod that allows connecting to computers through RDP and displaying/interacting with them in game."
}
}
jar {
from litemod.outputs
from configurations.provided.collect { it.isDirectory() ? it : zipTree(it) }
}