Skip to content

Commit b7f2936

Browse files
authored
Format gradle (#934)
Format gradle files Automated via `./gradlew format -Pcom.palantir.baseline-format.gradle-files=true` per https://github.com/palantir/gradle-baseline/releases/tag/3.55.0
1 parent 784637f commit b7f2936

File tree

5 files changed

+9
-13
lines changed

5 files changed

+9
-13
lines changed

build.gradle

+9-9
Original file line numberDiff line numberDiff line change
@@ -77,21 +77,21 @@ allprojects {
7777

7878
// warnings not explicitly provided by error-prone
7979
error 'NullAway',
80-
'Slf4jLogsafeArgs',
81-
'PreferCollectionTransform',
82-
'PreferListsPartition',
83-
'PreferSafeLoggingPreconditions',
84-
'PreferSafeLoggableExceptions'
80+
'Slf4jLogsafeArgs',
81+
'PreferCollectionTransform',
82+
'PreferListsPartition',
83+
'PreferSafeLoggingPreconditions',
84+
'PreferSafeLoggableExceptions'
8585

8686
// increase strictness for built-in error-prone checks
8787
error((com.google.errorprone.scanner.BuiltInCheckerSuppliers.ENABLED_WARNINGS +
8888
com.google.errorprone.scanner.BuiltInCheckerSuppliers.DISABLED_CHECKS
89-
).collect { it.canonicalName() } as String[])
89+
).collect { it.canonicalName() } as String[])
9090

9191
disable 'AndroidJdkLibsChecker', // ignore Android
92-
'Java7ApiChecker', // tritium requires JDK8+
93-
'StaticOrDefaultInterfaceMethod', // Android specific
94-
'Var' // high noise, low signal
92+
'Java7ApiChecker', // tritium requires JDK8+
93+
'StaticOrDefaultInterfaceMethod', // Android specific
94+
'Var' // high noise, low signal
9595
}
9696
}
9797
})

tritium-api/build.gradle

-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ apply plugin: 'com.palantir.revapi'
44
dependencies {
55

66
implementation 'com.google.code.findbugs:jsr305'
7-
87
}
98

tritium-core/build.gradle

-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@ dependencies {
1717
testImplementation 'org.junit.jupiter:junit-jupiter'
1818
testImplementation 'org.junit.jupiter:junit-jupiter-api'
1919
testImplementation 'org.mockito:mockito-core'
20-
2120
}

tritium-proxy/build.gradle

-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ dependencies {
99
testImplementation 'org.assertj:assertj-core'
1010
testImplementation 'org.junit.jupiter:junit-jupiter'
1111
testImplementation 'org.junit.jupiter:junit-jupiter-api'
12-
1312
}

tritium-test/build.gradle

-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@ dependencies {
55
implementation 'com.palantir.safe-logging:preconditions'
66
implementation 'com.palantir.safe-logging:safe-logging'
77
implementation 'io.dropwizard.metrics:metrics-core'
8-
98
}

0 commit comments

Comments
 (0)