diff options
author | Anatoliy Sablin | 2017-11-06 17:18:37 +0300 |
---|---|---|
committer | Anatoliy Sablin | 2017-11-06 17:18:37 +0300 |
commit | 7aadceb924c1b22351df5e0535a03edceb5047cf (patch) | |
tree | 4f7a1f611df7b996314142270f1858f0164f9d08 /juick-commands | |
parent | aec013888a71856b4ec5a3415c266cd07c0ba5c4 (diff) |
Fixed configurations.juick-commands
Diffstat (limited to 'juick-commands')
-rw-r--r-- | juick-commands/build.gradle | 2 | ||||
-rw-r--r-- | juick-commands/src/main/java/com/juick/command/CommandsConfiguration.java | 3 | ||||
-rw-r--r-- | juick-commands/src/main/java/com/juick/command/Processor.java | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/juick-commands/build.gradle b/juick-commands/build.gradle index c6dfff42..ca18aa52 100644 --- a/juick-commands/build.gradle +++ b/juick-commands/build.gradle @@ -7,7 +7,7 @@ repositories { } dependencies { - compile project(':juick-server-core') + compile project(':juick-server-jdbc') compile "org.springframework:spring-context-support:${rootProject.springFrameworkVersion}" compile "org.projectlombok:lombok:1.16.14" diff --git a/juick-commands/src/main/java/com/juick/command/CommandsConfiguration.java b/juick-commands/src/main/java/com/juick/command/CommandsConfiguration.java index b6b9ea0d..a8f66653 100644 --- a/juick-commands/src/main/java/com/juick/command/CommandsConfiguration.java +++ b/juick-commands/src/main/java/com/juick/command/CommandsConfiguration.java @@ -1,8 +1,10 @@ package com.juick.command; +import com.juick.configuration.DataConfiguration; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; +import org.springframework.context.annotation.Import; import java.util.Set; @@ -10,6 +12,7 @@ import java.util.Set; * @author ma1uta */ @Configuration +@Import(DataConfiguration.class) @ComponentScan(basePackages = {"com.juick.command"}) public class CommandsConfiguration { diff --git a/juick-commands/src/main/java/com/juick/command/Processor.java b/juick-commands/src/main/java/com/juick/command/Processor.java index bf46a758..f02e7c4b 100644 --- a/juick-commands/src/main/java/com/juick/command/Processor.java +++ b/juick-commands/src/main/java/com/juick/command/Processor.java @@ -6,7 +6,6 @@ import lombok.Setter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Component; import java.util.Set; import java.util.regex.Pattern; @@ -14,7 +13,6 @@ import java.util.regex.Pattern; /** * @author ma1uta */ -@Component @Getter public class Processor { |