@@ -2,15 +2,18 @@ plugins {
2
2
id ' com.adarshr.test-logger' version ' 2.1.0'
3
3
}
4
4
5
+ evaluationDependsOn(' :util' )
6
+
5
7
java {
6
8
withJavadocJar()
7
9
withSourcesJar()
8
10
}
9
11
10
12
dependencies {
13
+ implementation project(' :util' )
14
+ implementation project(' :config' )
11
15
implementation project(' :protocol' )
12
16
implementation project(' :store' )
13
- implementation project(' :config' )
14
17
15
18
implementation ' io.netty:netty-handler:4.1.70.Final'
16
19
implementation ' io.netty:netty-buffer:4.1.70.Final'
@@ -24,17 +27,23 @@ dependencies {
24
27
implementation files(' libs/keva-ioc-0.1.0-SNAPSHOT.jar' )
25
28
26
29
testImplementation ' redis.clients:jedis:3.7.0'
30
+ }
27
31
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
+ }
32
41
}
33
42
34
43
publishing {
35
44
publications {
36
45
mavenJava(MavenPublication ) {
37
- artifactId = ' core '
46
+ artifactId = ' kevadb '
38
47
from components. java
39
48
versionMapping {
40
49
usage(' java-api' ) {
@@ -45,8 +54,8 @@ publishing {
45
54
}
46
55
}
47
56
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 '
50
59
url = ' https://keva.dev/'
51
60
licenses {
52
61
license {
0 commit comments