@@ -2,15 +2,18 @@ plugins {
22 id ' com.adarshr.test-logger' version ' 2.1.0'
33}
44
5+ evaluationDependsOn(' :util' )
6+
57java {
68 withJavadocJar()
79 withSourcesJar()
810}
911
1012dependencies {
13+ implementation project(' :util' )
14+ implementation project(' :config' )
1115 implementation project(' :protocol' )
1216 implementation project(' :store' )
13- implementation project(' :config' )
1417
1518 implementation ' io.netty:netty-handler:4.1.70.Final'
1619 implementation ' io.netty:netty-buffer:4.1.70.Final'
@@ -24,17 +27,23 @@ dependencies {
2427 implementation files(' libs/keva-ioc-0.1.0-SNAPSHOT.jar' )
2528
2629 testImplementation ' redis.clients:jedis:3.7.0'
30+ }
2731
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' )
32+ jar {
33+ dependsOn(' :util:build' )
34+ dependsOn(' :config:build' )
35+ dependsOn(' :protocol:build' )
36+ dependsOn(' :store:build' )
37+ project. configurations. implementation. canBeResolved = true
38+ from {
39+ configurations. implementation. collect { it. isDirectory() ? it : zipTree(it) }
40+ }
3241}
3342
3443publishing {
3544 publications {
3645 mavenJava(MavenPublication ) {
37- artifactId = ' core '
46+ artifactId = ' kevadb '
3847 from components. java
3948 versionMapping {
4049 usage(' java-api' ) {
@@ -45,8 +54,8 @@ publishing {
4554 }
4655 }
4756 pom {
48- name = ' Keva Core '
49- description = ' KevaDB Core '
57+ name = ' KevaDB '
58+ description = ' KevaDB - Low-latency in-memory key-value store, Redis drop-in alternative '
5059 url = ' https://keva.dev/'
5160 licenses {
5261 license {
0 commit comments