Skip to content

Commit

Permalink
Remove unnecessary dependencies to fix builds. (#194)
Browse files Browse the repository at this point in the history
Remove unnecessary dependencies to fix builds.
  • Loading branch information
carterkozak authored and bulldozer-bot[bot] committed Sep 19, 2019
1 parent eb10fc7 commit 1162369
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ version gitVersion()
dependencies {
compile localGroovy()
compile gradleApi()
compile 'com.palantir.safe-logging:preconditions'

testCompile gradleTestKit()
testCompile 'com.netflix.nebula:nebula-test'
Expand Down Expand Up @@ -93,3 +92,9 @@ pluginBundle {
}
}

tasks.withType(JavaCompile).configureEach {
options.errorprone.errorproneArgs += [
'-Xep:PreferSafeLoggableExceptions:OFF',
'-Xep:PreferSafeLoggingPreconditions:OFF',
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.palantir.gradle.graal;

import com.palantir.logsafe.exceptions.SafeIllegalStateException;
import java.io.File;
import java.nio.file.Path;
import java.nio.file.Paths;
Expand Down Expand Up @@ -65,7 +64,7 @@ public ExtractGraalTask() {
@TaskAction
public final void extractGraal() {
if (!graalVersion.isPresent()) {
throw new SafeIllegalStateException("extract task requires graal.graalVersion to be defined.");
throw new IllegalStateException("extract task requires graal.graalVersion to be defined.");
}

Project project = getProject();
Expand Down
4 changes: 1 addition & 3 deletions versions.lock
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Run ./gradlew --write-locks to regenerate this file
com.google.errorprone:error_prone_annotations:2.3.3 (3 constraints: 2220171d)
com.palantir.safe-logging:preconditions:1.10.1 (1 constraints: 35052a3b)
com.palantir.safe-logging:safe-logging:1.10.1 (1 constraints: 2f114cd1)

[Test dependencies]
cglib:cglib-nodep:3.2.2 (1 constraints: 490ded24)
com.google.code.findbugs:jsr305:3.0.2 (2 constraints: 1d0fb186)
com.google.errorprone:error_prone_annotations:2.3.3 (2 constraints: 1f0f1287)
com.google.guava:failureaccess:1.0.1 (1 constraints: 140ae1b4)
com.google.guava:guava:27.0.1-jre (2 constraints: c7135868)
com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava (1 constraints: bd17c918)
Expand Down
1 change: 0 additions & 1 deletion versions.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
com.google.guava:guava = 27.0.1-jre
com.netflix.nebula:nebula-test = 7.3.0
com.palantir.safe-logging:preconditions = 1.10.1
com.squareup.okhttp3:* = 3.14.1

# conflict resolution
Expand Down

0 comments on commit 1162369

Please sign in to comment.