Skip to content

Commit

Permalink
Format gradle (#934)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
schlosna authored Dec 2, 2020
1 parent 784637f commit b7f2936
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 13 deletions.
18 changes: 9 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,21 +77,21 @@ allprojects {

// warnings not explicitly provided by error-prone
error 'NullAway',
'Slf4jLogsafeArgs',
'PreferCollectionTransform',
'PreferListsPartition',
'PreferSafeLoggingPreconditions',
'PreferSafeLoggableExceptions'
'Slf4jLogsafeArgs',
'PreferCollectionTransform',
'PreferListsPartition',
'PreferSafeLoggingPreconditions',
'PreferSafeLoggableExceptions'

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

disable 'AndroidJdkLibsChecker', // ignore Android
'Java7ApiChecker', // tritium requires JDK8+
'StaticOrDefaultInterfaceMethod', // Android specific
'Var' // high noise, low signal
'Java7ApiChecker', // tritium requires JDK8+
'StaticOrDefaultInterfaceMethod', // Android specific
'Var' // high noise, low signal
}
}
})
Expand Down
1 change: 0 additions & 1 deletion tritium-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ apply plugin: 'com.palantir.revapi'
dependencies {

implementation 'com.google.code.findbugs:jsr305'

}

1 change: 0 additions & 1 deletion tritium-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.mockito:mockito-core'

}
1 change: 0 additions & 1 deletion tritium-proxy/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ dependencies {
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'org.junit.jupiter:junit-jupiter-api'

}
1 change: 0 additions & 1 deletion tritium-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ dependencies {
implementation 'com.palantir.safe-logging:preconditions'
implementation 'com.palantir.safe-logging:safe-logging'
implementation 'io.dropwizard.metrics:metrics-core'

}

0 comments on commit b7f2936

Please sign in to comment.