Skip to content

Commit cf28e97

Browse files
author
EveryOS
authored
Quick Cleanup
1 parent e46f56e commit cf28e97

File tree

1 file changed

+14
-22
lines changed

1 file changed

+14
-22
lines changed

build.gradle

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
buildscript {
2-
3-
}
4-
51
plugins {
62
id 'com.github.johnrengelman.shadow' version '2.0.1'
73
id 'java'
@@ -10,37 +6,33 @@ plugins {
106
version '0.0.1-SNAPSHOT'
117

128
sourceCompatibility = 1.8
9+
targetCompatibility = 1.8
1310

1411
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+
}
2623
}
2724

2825
apply plugin: 'com.github.johnrengelman.shadow'
2926
apply plugin: 'java'
3027

3128
jar {
3229
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")
3931
}
4032
}
4133

4234
shadowJar {
4335
classifier = null
4436
}
4537

46-
//Thanks to squiddev
38+
//Thanks to squiddev

0 commit comments

Comments
 (0)