diff --git a/gerrit-acceptance-framework/BUCK b/gerrit-acceptance-framework/BUCK index 4e85d90329..2e4218e98e 100644 --- a/gerrit-acceptance-framework/BUCK +++ b/gerrit-acceptance-framework/BUCK @@ -85,8 +85,8 @@ java_doc( '//lib/guice:guice-servlet', '//lib/guice:javax-inject', '//lib:gwtorm_client', - '//lib:junit__jar', - '//lib:truth__jar', + '//lib:junit', + '//lib:truth', ], visibility = ['PUBLIC'], ) diff --git a/tools/java_doc.defs b/tools/java_doc.defs index 514a730a85..65865bb4c4 100644 --- a/tools/java_doc.defs +++ b/tools/java_doc.defs @@ -29,7 +29,7 @@ def java_doc( '-sourcepath ', ':'.join(sourcepath), ' -classpath ', - ':'.join(['$(location %s)' % n for n in deps]), + ':'.join(['$(classpath %s)' % n for n in deps]), '-d $TMP', ]) + ';jar cf $OUT -C $TMP .', srcs = srcs,