From 9b4c129b4abceece9bdb46ac10c20bbc192eba08 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Sun, 3 May 2020 21:06:18 -0700 Subject: [PATCH] [build] remove workaround for fixed issue Problem There exists code whose only intent is to work around a bug, but the bug is fixed. Solution Remove the code See https://github.com/mockito/mockito/issues/1444 See https://github.com/mockito/shipkit/issues/741 --- build.gradle | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/build.gradle b/build.gradle index 7e11a05e1f..ecff352884 100644 --- a/build.gradle +++ b/build.gradle @@ -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