Commit 3cf6a9b 1 parent 0314edb commit 3cf6a9b Copy full SHA for 3cf6a9b
File tree 4 files changed +12
-7
lines changed
4 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1
1
import com.diffplug.gradle.spotless.SpotlessExtension
2
2
import com.diffplug.gradle.spotless.SpotlessPlugin
3
+ import com.diffplug.spotless.FormatterFunc
3
4
import com.github.jengelman.gradle.plugins.shadow.ShadowJavaPlugin
4
5
import com.github.jengelman.gradle.plugins.shadow.ShadowPlugin
5
6
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
@@ -13,6 +14,7 @@ import net.kyori.indra.IndraPlugin
13
14
import net.ltgt.gradle.errorprone.CheckSeverity
14
15
import net.ltgt.gradle.errorprone.ErrorPronePlugin
15
16
import net.ltgt.gradle.errorprone.errorprone
17
+ import org.gradle.internal.impldep.kotlinx.serialization.Serializable
16
18
17
19
plugins {
18
20
alias(libs.plugins.spotless) apply false
@@ -45,7 +47,11 @@ allprojects {
45
47
java {
46
48
palantirJavaFormat()
47
49
importOrder(" " , " \\ #" )
48
- custom(" no-wildcard-imports" ) { it.apply { if (contains(" *;\n " )) error(" No wildcard imports allowed" ) } }
50
+ // I will kill someone
51
+ custom(" no-wildcard-imports" , object : FormatterFunc , java.io.Serializable {
52
+ override fun apply (input : String ) =
53
+ input.apply { if (contains(" *;\n " )) error(" No wildcard imports allowed" ) }
54
+ })
49
55
licenseHeaderFile(rootProject.file(" HEADER.txt" ))
50
56
bumpThisNumberIfACustomStepChanges(1 )
51
57
}
Original file line number Diff line number Diff line change 3
3
shadow = " 8.3.5"
4
4
indra = " 3.1.3"
5
5
toxopid = " 4.1.1"
6
- spotless = " 6.25.0 "
6
+ spotless = " 7.0.1 "
7
7
errorprone-gradle = " 4.1.0"
8
8
9
9
# logging
10
10
slf4j = " 2.0.16"
11
11
12
12
# static analysis
13
13
errorprone-core = " 2.36.0"
14
- nullaway = " 0.12.1 "
15
- checker-qual = " 3.48.3 "
14
+ nullaway = " 0.12.3 "
15
+ checker-qual = " 3.48.4 "
16
16
17
17
[libraries ]
18
18
# logging
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.11.1 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.12 -bin.zip
4
4
networkTimeout =10000
5
5
validateDistributionUrl =true
6
6
zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 86
86
# shellcheck disable=SC2034
87
87
APP_BASE_NAME=${0##*/ }
88
88
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89
- APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s
90
- ' " $PWD " ) || exit
89
+ APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s\n' " $PWD " ) || exit
91
90
92
91
# Use the maximum available, or set MAX_FD != -1 to use that value.
93
92
MAX_FD=maximum
You can’t perform that action at this time.
0 commit comments