1
1
plugins {
2
- id(" com.github.johnrengelman.shadow" ) version " 8.1.1"
2
+ alias(libs.plugins.shadow)
3
+ alias(libs.plugins.spotless)
3
4
java
4
5
`maven- publish`
5
6
}
6
7
7
8
group = " de.chojo"
8
- version = " 1.13.17 "
9
+ version = " 1.13.18 "
9
10
10
11
repositories {
11
12
maven(" https://eldonexus.de/repository/maven-public" )
12
13
maven(" https://eldonexus.de/repository/maven-proxies" )
13
14
maven(" https://m2.dv8tion.net/releases" )
14
15
}
15
16
17
+ spotless {
18
+ java {
19
+ licenseHeaderFile(rootProject.file(" HEADER.txt" ))
20
+ target(" **/*.java" )
21
+ }
22
+ }
23
+
16
24
dependencies {
17
25
// discord
18
26
implementation(" de.chojo" , " cjda-util" , " 2.8.6+beta.11" ) {
@@ -21,23 +29,20 @@ dependencies {
21
29
22
30
// database
23
31
implementation(" org.postgresql" , " postgresql" , " 42.6.0" )
24
- implementation(" de.chojo.sadu" , " sadu-queries" , " 1.3.0" )
25
- implementation(" de.chojo.sadu" , " sadu-updater" , " 1.3.0" )
26
- implementation(" de.chojo.sadu" , " sadu-postgresql" , " 1.3.0" )
27
- implementation(" de.chojo.sadu" , " sadu-datasource" , " 1.3.0" )
32
+ implementation(libs.bundles.sadu)
28
33
29
34
// Logging
30
- implementation(" org.slf4j " , " slf4j-api " , " 2.0.7 " )
31
- implementation(" org.apache.logging.log4j " , " log4j-core " , " 2.20.0 " )
32
- implementation (" org.apache.logging.log4j" , " log4j-slf4j2-impl " , " 2.20.0 " )
33
- implementation( " club.minnced " , " discord-webhooks " , " 0.8.2 " )
35
+ implementation(libs.bundles.log4j )
36
+ implementation(" de.chojo " , " log-util " , " 1.0.1 " ) {
37
+ exclude (" org.apache.logging.log4j" )
38
+ }
34
39
35
- implementation(" org.knowm.xchart" , " xchart" , " 3.8.4 " )
40
+ implementation(" org.knowm.xchart" , " xchart" , " 3.8.5 " )
36
41
37
42
// unit testing
38
- testImplementation(platform(" org.junit:junit-bom:5.9.3 " ))
43
+ testImplementation(platform(" org.junit:junit-bom:5.10.0 " ))
39
44
testImplementation(" org.junit.jupiter" , " junit-jupiter" )
40
- testImplementation(" org.knowm.xchart" , " xchart" , " 3.8.4 " )
45
+ testImplementation(" org.knowm.xchart" , " xchart" , " 3.8.5 " )
41
46
}
42
47
43
48
java {
0 commit comments