This repository has been archived by the owner on Apr 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
91 lines (68 loc) · 2.72 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
plugins {
id 'application'
id 'java'
id "com.github.ben-manes.versions" version "0.28.0"
id "com.github.johnrengelman.shadow" version "5.2.0"
}
mainClassName = 'net.romvoid.crashbot.Bot'
group = 'net.romvoid.crashbot'
version = '3.0.0'
description = 'A Minecraft logs Discord Bot'
configurations {
compile
}
repositories {
maven {
url "https://jitpack.io"
}
jcenter()
}
dependencies {
compile ('net.dv8tion:JDA:4.1.1_164'){
transitive = true
exclude module: 'opus-java'
}
//compile group: '', name: '', version: ''
compile group: 'com.jagrosh', name: 'jda-utilities', version: '3.0.4'
// https://mvnrepository.com/artifact/commons-io/commons-io
compile group: 'commons-io', name: 'commons-io', version: '2.7'
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.11'
// https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.12'
// https://mvnrepository.com/artifact/com.google.code.gson/gson
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
// https://mvnrepository.com/artifact/org.json/json
compile group: 'org.json', name: 'json', version: '20200518'
// https://mvnrepository.com/artifact/org.slf4j/slf4j-api
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.30'
// https://mvnrepository.com/artifact/ch.qos.logback/logback-classic
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
// https://bintray.com/minndevelopment/maven/discord-webhooks
compile group: 'club.minnced', name: 'discord-webhooks', version: '0.3.1'
// https://search.maven.org/artifact/com.github.enerccio/gson-utilities/1.1.0/jar
compile group: 'com.github.enerccio', name: 'gson-utilities', version: '1.1.0'
// https://mvnrepository.com/artifact/org.jsoup/jsoup
compile group: 'org.jsoup', name: 'jsoup', version: '1.13.1'
// https://search.maven.org/artifact/org.junit.jupiter/junit-jupiter-engine
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.7.0-M1'
compile(group: 'org.kohsuke', name: 'github-api', version: '1.95'){
exclude module: 'okhttp'
}
compile 'com.github.ROMVoid95:ReadOnlyCfg:1.0.2'
}
shadowJar { task ->
baseName = task.project.name
}
jar {
configurations.compile.each { dep ->
from(project.zipTree(dep)) {
exclude 'META-INF', 'META-INF/**'
}
}
manifest {
attributes(
'Main-Class': mainClassName
)
}
}