-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
69 lines (56 loc) · 1.5 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
buildscript {
repositories {
mavenLocal()
}
}
plugins {
id 'java'
id 'java-gradle-plugin'
id 'maven-publish'
}
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
group 'com.cleanroommc'
version '1.0'
repositories {
mavenLocal()
mavenCentral()
google()
maven {
name = 'MinecraftForge'
url = 'https://maven.minecraftforge.net/'
}
}
dependencies {
// Gradle API
implementation gradleApi()
// ASM
implementation 'org.ow2.asm:asm:9.2'
implementation 'org.ow2.asm:asm-commons:9.2'
implementation 'org.ow2.asm:asm-tree:9.2'
// Google's Guava+Gson
implementation 'com.google.guava:guava:31.1-jre'
implementation 'com.google.code.gson:gson:2.9.0'
// Apache Commons
implementation 'commons-io:commons-io:2.11.0'
// Apache Maven
implementation 'org.apache.maven:maven-artifact:3.8.4'
// Forge-Related Libraries
implementation 'net.minecraftforge:artifactural:3.0.8'
implementation 'net.minecraftforge:accesstransformers:8.0.+:fatjar'
implementation 'net.minecraftforge:binarypatcher:1.+:fatjar'
implementation 'net.minecraftforge:DiffPatch:2.0.7:all'
// JUnit 5
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.2'
}
gradlePlugin {
plugins {
cleanroom_gradle {
id = 'com.cleanroommc.gradle'
implementationClass = 'com.cleanroommc.gradle.CleanroomGradlePlugin'
}
}
automatedPublishing = false
}
test {
useJUnitPlatform()
}