-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
executable file
·40 lines (33 loc) · 1.09 KB
/
build.gradle
File metadata and controls
executable file
·40 lines (33 loc) · 1.09 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
plugins {
id 'java'
}
group 'info.burntrouter'
version '1.2.1'
repositories {
mavenCentral()
}
dependencies {
implementation("net.dv8tion:JDA:5.0.0-alpha.5") {
exclude module: 'opus-java'
}
implementation group: 'org.json', name: 'json', version: '20180813'
implementation group: 'commons-io', name: 'commons-io', version: '2.6'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
implementation group: 'org.json', name: 'json', version: '20210307'
implementation group: 'mysql', name: 'mysql-connector-java', version: '5.1.39'
implementation group: 'commons-validator', name: 'commons-validator', version: '1.7'
}
tasks.register('uberJar', Jar) {
archiveClassifier = 'uber'
duplicatesStrategy = 'include'
from sourceSets.main.output
dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect { zipTree(it) }
}
manifest {
attributes(
'Main-Class': 'info.burntrouter.HelpThreadBot.Launcher'
)
}
}