-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
53 lines (45 loc) · 1.35 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
plugins {
id 'java'
id 'maven-publish'
}
group 'com.github.reugn'
version '0.4.0'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
publishing {
repositories {
maven {
name = "GithubPackages"
url = uri("https://maven.pkg.github.com/reugn/kafka-aerospike-state-store")
credentials {
username = properties.getProperty("user") ?: System.getenv("GITHUB_ACTOR")
password = properties.getProperty("password") ?: System.getenv("GITHUB_TOKEN")
}
}
}
publications {
gpr(MavenPublication) {
from(components.java)
}
}
}
ext {
kafkaVersion = '2.8.1'
junitVersion = '5.8.1'
}
dependencies {
implementation "org.apache.kafka:kafka-streams:$kafkaVersion"
implementation "com.aerospike:aerospike-client:5.1.8"
implementation "io.netty:netty-all:4.1.68.Final"
implementation "org.apache.commons:commons-lang3:3.12.0"
testImplementation "org.apache.kafka:kafka-streams-test-utils:$kafkaVersion"
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
}
test {
useJUnitPlatform()
}