From 9383db80fbf0de88608fe6bfbe5edf62471f4abb Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 14 Dec 2016 17:32:01 +0300 Subject: juick-core: api objects should live in core --- juick-notifications/build.gradle | 9 +++++++++ .../src/main/java/com/juick/components/CleanUp.java | 2 +- .../java/com/juick/components/controllers/StatusController.java | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) (limited to 'juick-notifications') diff --git a/juick-notifications/build.gradle b/juick-notifications/build.gradle index 1e81e6fc..e7806c00 100644 --- a/juick-notifications/build.gradle +++ b/juick-notifications/build.gradle @@ -12,6 +12,15 @@ dependencies { compile "javax.inject:javax.inject:1" + compile "ch.qos.logback:logback-classic:${rootProject.logbackVersion}" + compile "ch.qos.logback:logback-core:${rootProject.logbackVersion}" + compile "ch.qos.logback:logback-access:${rootProject.logbackVersion}" + + compile "org.slf4j:slf4j-api:${rootProject.slf4jVersion}" + compile "org.slf4j:jcl-over-slf4j:${rootProject.slf4jVersion}" + compile "org.slf4j:log4j-over-slf4j:${rootProject.slf4jVersion}" + compile "org.slf4j:jul-to-slf4j:${rootProject.slf4jVersion}" + compile "org.apache.httpcomponents:httpclient:4.5.2" compile "org.apache.commons:commons-lang3:3.5" compile "org.bitbucket.sco0ter.babbler:xmpp-core-client:0ba6c0e2f9" diff --git a/juick-notifications/src/main/java/com/juick/components/CleanUp.java b/juick-notifications/src/main/java/com/juick/components/CleanUp.java index 924d6134..c78b3f77 100644 --- a/juick-notifications/src/main/java/com/juick/components/CleanUp.java +++ b/juick-notifications/src/main/java/com/juick/components/CleanUp.java @@ -1,6 +1,6 @@ package com.juick.components; -import com.juick.server.helpers.TokensList; +import com.juick.TokensList; import com.notnoop.apns.ApnsService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/juick-notifications/src/main/java/com/juick/components/controllers/StatusController.java b/juick-notifications/src/main/java/com/juick/components/controllers/StatusController.java index d05b3ecc..76435ef9 100644 --- a/juick-notifications/src/main/java/com/juick/components/controllers/StatusController.java +++ b/juick-notifications/src/main/java/com/juick/components/controllers/StatusController.java @@ -1,7 +1,7 @@ package com.juick.components.controllers; +import com.juick.Status; import com.juick.components.Notifications; -import com.juick.server.helpers.Status; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; -- cgit v1.2.3