Skip to content

Commit

Permalink
Fix mockito-core version
Browse files Browse the repository at this point in the history
This is an attempt to prevent following error from the Maven Central Repository:

Invalid POM: /io/tus/java/client/tus-java-client/0.4.2/tus-java-client-0.4.2.pom: Invalid version for Dependency {groupId=org.mockito, artifactId=mockito-core, version=2.+, type=jar} - uses invalid dynamic version syntax. Replace with a fixed version or standard mathematical notation e.g., [1.5,) for version 1.5 and higher. Dropping existing partial staging repository.
  • Loading branch information
Acconut authored Feb 2, 2021
1 parent ea95fce commit 2b0d0a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies {
compile 'org.jetbrains:annotations:13.0'
testCompile 'junit:junit:4.12'
testCompile 'org.mock-server:mockserver-netty:5.2.2'
testCompile 'org.mockito:mockito-core:2.+'
testCompile 'org.mockito:mockito-core:2.28.2'
}

task sourcesJar(type: Jar, dependsOn: classes) {
Expand Down

0 comments on commit 2b0d0a3

Please sign in to comment.