diff --git a/third_party/java/junit/BUCK b/third_party/java/junit/BUCK index 32d5f4a901ea3..ce8afd8fb93ec 100644 --- a/third_party/java/junit/BUCK +++ b/third_party/java/junit/BUCK @@ -7,7 +7,12 @@ prebuilt_jar( '//third_party/java/hamcrest:hamcrest-core' ], visibility = [ - 'PUBLIC', + '//third_party/java/sisu:org.eclipse.sisu.plexus', + '//third_party/java/testng:testng', + '//java/client/test/...', + '//java/server/test/...', + '//java/client/src/com/thoughtworks/selenium/...', + '//java/client/src/org/openqa/selenium/lift:lift', ], )