-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (48 loc) · 1.28 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
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* User Manual available at https://docs.gradle.org/6.6.1/userguide/tutorial_java_projects.html
*/
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '6.1.0'
}
repositories {
jcenter()
mavenCentral()
maven {
url 'https://libraries.minecraft.net'
}
}
sourceCompatibility = 11
targetCompatibility = 11
dependencies {
compile 'org.dom4j:dom4j:2.1.3'
compile 'blue.endless:jankson:1.1.0'
compile 'com.mojang:datafixerupper:4.0.26'
compile 'com.mojang:brigadier:1.0.17'
compile 'com.discord4j:discord4j-core:3.1.3'
compile 'com.google.guava:guava:29.0-jre'
testImplementation 'junit:junit:4.13'
}
jar {
manifest {
attributes (
'Main-Class': 'io.github.boogiemonster1o1.legacyfabricbot.LegacyFabricBot'
)
}
}
jar {
classifier = 'nodeps'
}
shadowJar {
configurations = [project.configurations.compile]
classifier = ''
}
application {
mainClassName = 'io.github.boogiemonster1o1.legacyfabricbot.LegacyFabricBot'
}
task stage(dependsOn: ['run'])