Fixed duplicate package issue and javaDoc warnings

Change-Id: I3c6456b650516e978e446471a3ffc7b693dab9c4
diff --git a/apps/scalablegateway/BUCK b/apps/scalablegateway/BUCK
index ff5f62d..d4fdb0d 100644
--- a/apps/scalablegateway/BUCK
+++ b/apps/scalablegateway/BUCK
@@ -1,11 +1,14 @@
-BUNDLES = [
-    '//apps/scalablegateway/api:onos-apps-scalablegateway-api',
-    '//apps/scalablegateway/app:onos-apps-scalablegateway-app',
+COMPILE_DEPS = [
+    '//lib:CORE_DEPS',
 ]
 
+osgi_jar_with_tests (
+    deps = COMPILE_DEPS,
+)
+
 onos_app (
   title = 'Scalable GW App',
   category = 'Utility',
   url = 'http://onosproject.org',
-  included_bundles = BUNDLES,
+  description = 'Scalable gateway service',
 )