Skip to content

Commit

Permalink
[build] remove workaround for fixed issue
Browse files Browse the repository at this point in the history
Problem

There exists code whose only intent is to work around a bug, but the
bug is fixed.

Solution

Remove the code

See mockito#1444
See mockito/shipkit#741
  • Loading branch information
grimreaper committed May 4, 2020
1 parent bd3c45a commit 9b4c129
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions build.gradle
Expand Up @@ -121,21 +121,3 @@ spotless {
importOrder 'static java', 'static javax', 'static ', 'java', 'javax', ''
}
}


//workaround for #1444, delete when Shipkit bug is fixed
subprojects {
eclipse {
project {
name = rootProject.name + '-' + project.name
}
}

afterEvaluate {
def lib = publishing.publications.javaLibrary
if(lib && !lib.artifactId.startsWith("mockito-")) {
lib.artifactId = "mockito-" + lib.artifactId
}
}
}
//end workaround

0 comments on commit 9b4c129

Please sign in to comment.