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 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
52 lines (46 loc) · 1.38 KB
/
build.gradle
File metadata and controls
52 lines (46 loc) · 1.38 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
plugins {
id("java")
id("com.maldloader.gradle.vanilla") version "0.3.6"
}
group 'com.maldloader'
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/" }
maven { url = "https://maven.quiltmc.org/repository/snapshot" }
}
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.0"
includeRuntime 'com.google.code.gson:gson:2.8.9'
includeRuntime ("com.maldloader:minecraft:0.2.0") {
exclude module: "MaldLoader"
}
includeRuntime("com.maldloader:mixin:0.2.0") {
exclude module: "MaldLoader"
}
}
minecraft {
latestRelease()
staticInjectors("src/main/resources/interfaces.si")
runs {
client()
server()
}
}