Skip to content

Commit c487ea0

Browse files
Tais993I-Al-Istannenmarko-radosavljevicilluminator3
authored
Pull'd develop branch
* Bump JDA version to 324 (#31) Updates JDA (they forgot something with slash-commands, has been added now) * Add spotless integration This hopefully makes formatting more consistent. The Eclipse XML style was chosen as it is understood by Eclipse, VSC (JDT), Spotless and mostly by IntelliJ. * Make gradelew executable * Add "Remove unused imports" setting to spotless Co-authored-by: Marko Radosavljević <[email protected]> * Remove unused imports to fix diffplug/spotless#834 (#35) Co-authored-by: I-Al-Istannen <[email protected]> Co-authored-by: Marko Radosavljević <[email protected]> Co-authored-by: Jonas <[email protected]>
1 parent 7a05061 commit c487ea0

File tree

3 files changed

+346
-2
lines changed

3 files changed

+346
-2
lines changed

build.gradle

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
plugins {
22
id 'java'
3+
id "com.diffplug.spotless" version "5.15.0"
34
}
45

56
group 'org.togetherjava'
@@ -14,7 +15,7 @@ repositories {
1415
}
1516

1617
dependencies {
17-
implementation 'net.dv8tion:JDA:4.3.0_323'
18+
implementation 'net.dv8tion:JDA:4.3.0_324'
1819
implementation 'org.apache.logging.log4j:log4j-api:2.14.1'
1920
implementation 'org.apache.logging.log4j:log4j-core:2.14.1'
2021
implementation 'org.apache.logging.log4j:log4j-slf4j18-impl:2.14.1'
@@ -24,4 +25,10 @@ dependencies {
2425

2526
test {
2627
useJUnitPlatform()
27-
}
28+
}
29+
30+
spotless {
31+
java {
32+
eclipse().configFile('meta/formatting/google-style-eclipse.xml')
33+
}
34+
}

gradlew

100644100755
File mode changed.

0 commit comments

Comments
 (0)