all: Update to truth 1.0

* Update to truth 1.0
This commit is contained in:
Elliotte Rusty Harold 2019-09-11 11:53:18 -04:00 committed by Ran
parent fa8f89a1a6
commit e99672e03d
5 changed files with 6 additions and 6 deletions

View File

@ -66,7 +66,7 @@ dependencies {
implementation ('com.google.auth:google-auth-library-oauth2-http:0.9.0') { implementation ('com.google.auth:google-auth-library-oauth2-http:0.9.0') {
exclude group: 'org.apache.httpcomponents', module: 'httpclient' exclude group: 'org.apache.httpcomponents', module: 'httpclient'
} }
implementation 'com.google.truth:truth:0.45' implementation 'com.google.truth:truth:1.0'
implementation 'javax.annotation:javax.annotation-api:1.2' implementation 'javax.annotation:javax.annotation-api:1.2'
implementation 'junit:junit:4.12' implementation 'junit:junit:4.12'

View File

@ -52,7 +52,7 @@ dependencies {
testImplementation 'io.grpc:grpc-okhttp:1.25.0-SNAPSHOT' // CURRENT_GRPC_VERSION testImplementation 'io.grpc:grpc-okhttp:1.25.0-SNAPSHOT' // CURRENT_GRPC_VERSION
testImplementation 'junit:junit:4.12' testImplementation 'junit:junit:4.12'
testImplementation 'org.robolectric:robolectric:3.7.1' testImplementation 'org.robolectric:robolectric:3.7.1'
testImplementation 'com.google.truth:truth:0.45' testImplementation 'com.google.truth:truth:1.0'
} }
task javadocs(type: Javadoc) { task javadocs(type: Javadoc) {

View File

@ -226,7 +226,7 @@ subprojects {
// Test dependencies. // Test dependencies.
junit: 'junit:junit:4.12', junit: 'junit:junit:4.12',
mockito: 'org.mockito:mockito-core:2.25.1', mockito: 'org.mockito:mockito-core:2.25.1',
truth: 'com.google.truth:truth:0.45', truth: 'com.google.truth:truth:1.0',
guava_testlib: "com.google.guava:guava-testlib:${guavaVersion}", guava_testlib: "com.google.guava:guava-testlib:${guavaVersion}",
// Benchmark dependencies // Benchmark dependencies

View File

@ -55,6 +55,6 @@ dependencies {
implementation 'javax.annotation:javax.annotation-api:1.2' implementation 'javax.annotation:javax.annotation-api:1.2'
testImplementation 'junit:junit:4.12' testImplementation 'junit:junit:4.12'
testImplementation 'com.google.truth:truth:0.45' testImplementation 'com.google.truth:truth:1.0'
testImplementation 'io.grpc:grpc-testing:1.25.0-SNAPSHOT' // CURRENT_GRPC_VERSION testImplementation 'io.grpc:grpc-testing:1.25.0-SNAPSHOT' // CURRENT_GRPC_VERSION
} }

View File

@ -289,9 +289,9 @@ def com_google_protobuf_javalite():
def com_google_truth_truth(): def com_google_truth_truth():
jvm_maven_import_external( jvm_maven_import_external(
name = "com_google_truth_truth", name = "com_google_truth_truth",
artifact = "com.google.truth:truth:0.45", artifact = "com.google.truth:truth:1.0",
server_urls = ["http://central.maven.org/maven2"], server_urls = ["http://central.maven.org/maven2"],
artifact_sha256 = "0f7dced2a16e55a77e44fc3ff9c5be98d4bf4bb30abc18d78ffd735df950a69f", artifact_sha256 = "edaa12f3b581fcf1c07311e94af8766919c4f3d904b00d3503147b99bf5b4004",
licenses = ["notice"], # Apache 2.0 licenses = ["notice"], # Apache 2.0
) )