forked from RedsTom/PrivateRooms
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
53 lines (45 loc) · 1.18 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
plugins {
id 'java'
id 'groovy'
id 'application'
id 'com.github.johnrengelman.shadow' version '6.0.0'
}
shadowJar {
project.configurations.implementation.canBeResolved(true)
configurations = [project.configurations.implementation]
}
run {
mainClassName = 'org.reddev.privateroomsreborn.Main'
}
jar {
manifest {
attributes 'Main-Class': 'org.reddev.privateroomsreborn.Main'
}
}
group 'org.reddev'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven {
url 'https://jitpack.io/'
}
}
dependencies {
implementation 'org.codehaus.groovy:groovy-all:3.0.6'
implementation 'org.javacord:javacord:3.7.0'
implementation 'com.konghq:unirest-java:3.11.04'
implementation 'com.vdurmont:emoji-java:5.1.1'
implementation 'me.carleslc.Simple-YAML:Simple-Yaml:1.7.2'
implementation 'com.moandjiezana.toml:toml4j:0.7.2'
}
sourceSets {
main {
java {
srcDirs = [] // don't compile Java code twice
}
groovy {
srcDirs = [ 'src/main/groovy', 'src/main/java']
}
}
}
sourceCompatibility = targetCompatibility = '1.8'