File tree 1 file changed +14
-22
lines changed
1 file changed +14
-22
lines changed Original file line number Diff line number Diff line change 1
- buildscript {
2
-
3
- }
4
-
5
1
plugins {
6
2
id ' com.github.johnrengelman.shadow' version ' 2.0.1'
7
3
id ' java'
@@ -10,37 +6,33 @@ plugins {
10
6
version ' 0.0.1-SNAPSHOT'
11
7
12
8
sourceCompatibility = 1.8
9
+ targetCompatibility = 1.8
13
10
14
11
allprojects {
15
- repositories {
16
- mavenCentral()
17
- jcenter()
18
- }
19
-
20
- dependencies {
21
- testCompile group : ' junit' , name : ' junit' , version : ' 4.12'
22
- implementation ' net.dv8tion:JDA:3.8.1_454'
23
- implementation files(' CCEmuX/build/libs/CCEmuX-1.0.0-cct.jar' )
24
- file(' CCEmuX/build/libs/CCEmuX-1.0.0-cct.jar' )
25
- }
12
+ repositories {
13
+ mavenCentral()
14
+ jcenter()
15
+ }
16
+
17
+ dependencies {
18
+ testImplementation group : ' junit' , name : ' junit' , version : ' 4.12'
19
+ implementation ' net.dv8tion:JDA:3.8.1_454'
20
+ implementation files(' CCEmuX/build/libs/CCEmuX-1.0.0-cct.jar' )
21
+ file(' CCEmuX/build/libs/CCEmuX-1.0.0-cct.jar' )
22
+ }
26
23
}
27
24
28
25
apply plugin : ' com.github.johnrengelman.shadow'
29
26
apply plugin : ' java'
30
27
31
28
jar {
32
29
manifest {
33
- attributes(
34
- // "Class-Path": configurations.compile.collect { it.getName() }.join(' '),
35
- // "Class-Path": '../../CCEmuX/build/libs/CCEmuX-1.0.0-cct.jar',
36
- // "Class-Path": "com.github.jengelman.gradle.plugins:shadow:2.0.1",
37
- " Main-Class" : " lupus590.c4bot.main.Main"
38
- )
30
+ attributes(" Main-Class" : " lupus590.c4bot.main.Main" )
39
31
}
40
32
}
41
33
42
34
shadowJar {
43
35
classifier = null
44
36
}
45
37
46
- // Thanks to squiddev
38
+ // Thanks to squiddev
You can’t perform that action at this time.
0 commit comments