-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
59 lines (52 loc) · 1.65 KB
/
build.gradle.kts
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
//import cuchaz.enigma.command.ComposeMappingsCommand
plugins {
java
id("com.solarmc.eclipse") version "1.2-SNAPSHOT"
}
group = "com.solarmc"
version = "1.0-SNAPSHOT"
repositories {
maven(url = "https://maven.fabricmc.net/")
mavenCentral()
}
dependencies {
// Mapping
implementation("cuchaz", "enigma-swing", "0.27.3")
}
tasks.register("exportMappingsOfficial") {
doLast {
logger.lifecycle(":exporting mappings")
val args = listOf(
"tiny",
"/home/hydos/.gradle/caches/solarmc-eclipse/1.16.5/intermediary.tiny",
"enigma",
file("mappings/").absolutePath,
"enigma",
file("mappings_official/").absolutePath,
"right"
)
// ComposeMappingsCommand().run(args)
}
}
//
//task importMappingsOfficial(dependsOn: invertIntermediary) {
// def composeInput = invertIntermediary.output
//
// doLast {
// logger.lifecycle(":importing mappings")
// String[] args = [
// "tiny",
// composeInput.getAbsolutePath(),
// "enigma",
// file("mappings_official/").getAbsolutePath(),
// "enigma",
// file("mappings/").getAbsolutePath(),
// "right"
// ]
//
// new ComposeMappingsCommand().run(args)
// }
//}
solarEclipse {
version = com.solarmc.eclipse.util.lunar.Version.v1_16
}