Fix build
Change-Id: If464bce4fd98e5038365eaa7e36ceda160e373c2
diff --git a/.buckconfig b/.buckconfig
index be09823..74f7ad9 100644
--- a/.buckconfig
+++ b/.buckconfig
@@ -1,6 +1,6 @@
[alias]
- gerrit-oauth-provider = //:gerrit-oauth-provider
- plugin = //:gerrit-oauth-provider
+ oauth = //:oauth
+ plugin = //:oauth
[java]
src_roots = java, resources
diff --git a/BUCK b/BUCK
index 98b7711..ac55bc6 100644
--- a/BUCK
+++ b/BUCK
@@ -3,11 +3,11 @@
define_license('scribe')
gerrit_plugin(
- name = 'gerrit-oauth-provider',
+ name = 'oauth',
srcs = glob(['src/main/java/**/*.java']),
resources = glob(['src/main/resources/**/*']),
manifest_entries = [
- 'Gerrit-PluginName: gerrit-oauth-provider',
+ 'Gerrit-PluginName: oauth',
'Gerrit-HttpModule: com.googlesource.gerrit.plugins.oauth.HttpModule',
'Gerrit-InitStep: com.googlesource.gerrit.plugins.oauth.InitOAuth',
'Implementation-Title: Gerrit OAuth authentication provider',
@@ -25,7 +25,7 @@
java_library(
name = 'classpath',
- deps = [':gerrit-oauth-provider__plugin'],
+ deps = [':oauth__plugin'],
)
maven_jar(