This repository was archived by the owner on May 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
54 lines (47 loc) · 1.56 KB
/
build.gradle
File metadata and controls
54 lines (47 loc) · 1.56 KB
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
plugins {
id("java")
id("com.maldloader.gradle.vanilla") version "0.3.3"
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
mavenLocal()
maven { url = "https://maven.fabricmc.net/" }
maven { url = "https://maven.minecraftforge.net/" }
maven { url = "https://libraries.minecraft.net/" }
}
configurations {
includeRuntime {} // todo add JiJ
implementation.extendsFrom(includeRuntime)
}
dependencies {
//TODO: Mald Loader buildscript problems cause this to be needed
implementation 'org.jetbrains:annotations:22.0.0'
implementation 'org.ow2.asm:asm:9.2'
implementation 'org.ow2.asm:asm-tree:9.2'
includeRuntime('net.fabricmc:sponge-mixin:0.10.0+mixin.0.8.4.snapshot') {
exclude module: 'launchwrapper'
exclude module: 'guava'
exclude module: 'asm'
exclude module: 'asm-tree'
}
implementation "com.maldloader:MaldLoader:0.2"
includeRuntime 'com.google.code.gson:gson:2.8.8'
includeRuntime ("com.maldloader:minecraft:0.2") {
exclude module: "MaldLoader"
}
includeRuntime("com.maldloader:mixin:0.2") {
exclude module: "MaldLoader"
}
}
minecraft {
latestSnapshot()
//If you wanted to add a Static Injector, you would uncomment this line and point it to your static injector file
//staticInjectors("src/main/resources/interfaces.si")
// This HAS to be at the bottom. Anything after this which tries to change settings will fail because minecraft would of already being resolved
runs {
server()
client()
}
}