Skip to content

Commit

Permalink
Upgraded build.gradle methods (dtinit#1139)
Browse files Browse the repository at this point in the history
* Migrated exception assertion to assertThrows on BlackblazeDataTransferTest

* Update BackblazeDataTransferClientTest.java

Summary: 

Test Plan: 

Reviewers: 

Subscribers: 

Tasks: 

Tags: 


Differential Revision: https://phabricator.intern.facebook.com/D38427899

* Exception assert migration [1/2] junit 5

Summary: 

Test Plan: 

Reviewers: 

Subscribers: 

Tasks: 

Tags:

* exception assertion migration 2/2

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: https://phabricator.intern.facebook.com/D38456882

* [1/2] Migrate exception assert to Junit5

Summary: 

Test Plan: 

Reviewers: 

Subscribers: 

Tasks: 

Tags: 









Differential Revision: https://phabricator.intern.facebook.com/D38427899

* remove try catch block inside assertThrows method

* [2/2] Migrate exception assertion to Junit5



Differential Revision: https://phabricator.intern.facebook.com/D38456882

* add junit5 jupiter engine & fixes

Summary: 

Test Plan: 

Reviewers: 

Subscribers: 

Tasks: 

Tags: 


Differential Revision: https://phabricator.intern.facebook.com/D38539441

* Migrate compile to implementation

Summary: 

Test Plan: 

Reviewers: 

Subscribers: 

Tasks: 

Tags: 


Differential Revision: https://phabricator.intern.facebook.com/D38540314

* removed unused imports

Co-authored-by: Ernest Sadykov <[email protected]>
  • Loading branch information
chaaransen and xokker committed Aug 11, 2022
1 parent 4c8dc20 commit 42ebb1e
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ configure(sourceProjects()) {
sourceCompatibility = 11

dependencies {
compile "com.fasterxml.jackson.core:jackson-annotations:${jacksonVersion}"
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jacksonVersion}"
compile "com.google.guava:guava:${guavaVersion}"

testCompile project(":portability-test-utilities")
testCompile "com.google.truth:truth:${truthVersion}"
testCompile "org.junit.vintage:junit-vintage-engine:${junitJupiterVersion}"
testCompile "org.mockito:mockito-core:${mockitoVersion}"
implementation("com.fasterxml.jackson.core:jackson-annotations:${jacksonVersion}")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jacksonVersion}")
implementation("com.google.guava:guava:${guavaVersion}")

testImplementation(project(":portability-test-utilities"))
testImplementation("com.google.truth:truth:${truthVersion}")
testImplementation("org.junit.vintage:junit-vintage-engine:${junitJupiterVersion}")
testImplementation("org.mockito:mockito-core:${mockitoVersion}")
testImplementation("org.junit.jupiter:junit-jupiter:${junitJupiterVersion}")
}

Expand Down Expand Up @@ -216,4 +216,3 @@ def setGitVersion() {
def clean = Git.wrap(repo).status().call().isClean()
ext.gitVersion = version + (clean ? '' : '.modified')
}

0 comments on commit 42ebb1e

Please sign in to comment.