This repository has been archived by the owner on Feb 10, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
72 lines (60 loc) · 1.69 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
plugins {
id "java"
id "com.github.johnrengelman.shadow" version "6.1.0"
id "net.minecraftforge.gradle.forge" version "ddb1eb01af"
}
version "2.0.0"
group "dev.gaminggeek"
sourceCompatibility = targetCompatibility = 8
minecraft {
version = "1.8.9-11.15.1.2318-1.8.9"
runDir = "run"
mappings = "stable_22"
makeObfSourceJar = false
clientRunArgs += "--tweakClass gg.essential.loader.stage0.EssentialSetupTweaker"
}
repositories {
mavenCentral()
maven {
name "Jitpack"
url "https://jitpack.io"
}
maven {
name "Sk1er Repository"
url "https://repo.sk1er.club/repository/maven-public"
}
maven {
name = "Sponge Repository"
url = "https://repo.spongepowered.org/repository/maven-public/"
}
}
configurations {
include
implementation.extendsFrom(include)
}
dependencies {
include "gg.essential:loader-launchwrapper:1.1.1"
include "com.squareup.okhttp3:okhttp:4.5.0"
implementation("gg.essential:essential-1.8.9-forge:1492") {
exclude module: "asm-commons"
exclude module: "asm-tree"
exclude module: "asm"
}
}
shadowJar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
configurations = [project.configurations.include]
archiveClassifier.set("")
manifest.attributes(
"TweakClass": "gg.essential.loader.stage0.EssentialSetupTweaker",
"TweakOrder": "0"
)
}
reobfJar.dependsOn tasks.shadowJar
processResources {
inputs.property 'version', project.version
inputs.property 'mcversion', project.minecraft.version
filesMatching('mcmod.info') {
expand 'version': project.version, 'mcversion': project.minecraft.version
}
}