@@ -11,24 +11,27 @@ dependencies {
1111 implementation project(' :protocol' )
1212 implementation project(' :store' )
1313 implementation project(' :config' )
14+ implementation project(' :util' )
1415
15- implementation ' io.netty:netty-handler:4.1.70.Final'
16- implementation ' io.netty:netty-buffer:4.1.70.Final'
17- implementation ' io.netty:netty-transport-native-kqueue:4.1.70.Final:osx-x86_64'
18- implementation ' io.netty:netty-transport-native-epoll:4.1.70.Final:linux-x86_64'
16+ api ' io.netty:netty-handler:4.1.70.Final'
17+ api ' io.netty:netty-buffer:4.1.70.Final'
18+ api ' io.netty:netty-transport-native-kqueue:4.1.70.Final:osx-x86_64'
19+ api ' io.netty:netty-transport-native-epoll:4.1.70.Final:linux-x86_64'
1920
20- implementation ' com.google.guava:guava:31.0.1-jre'
21- implementation ' org.reflections:reflections:0.10.2'
22- implementation ' org.apache.commons:commons-lang3:3.12.0'
21+ api ' com.google.guava:guava:31.0.1-jre'
22+ api ' org.reflections:reflections:0.10.2'
23+ api ' org.apache.commons:commons-lang3:3.12.0'
2324
24- implementation files(' libs/keva-ioc-0.1.0-SNAPSHOT.jar' )
25+ api files(' libs/keva-ioc-0.1.0-SNAPSHOT.jar' )
2526
2627 testImplementation ' redis.clients:jedis:3.7.0'
28+ }
2729
28- // MTC lib depends on junit 4
29- testImplementation group : ' junit' , name : ' junit' , version : ' 4.12'
30- // noinspection GradlePackageUpdate
31- testRuntimeOnly(' org.junit.vintage:junit-vintage-engine:5.7.2' )
30+ jar {
31+ project. configurations. api. canBeResolved = true
32+ from {
33+ configurations. api. collect { it. isDirectory() ? it : zipTree(it) }
34+ }
3235}
3336
3437publishing {
0 commit comments