-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
executable file
·67 lines (55 loc) · 1.56 KB
/
build.gradle
File metadata and controls
executable file
·67 lines (55 loc) · 1.56 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
plugins {
id 'java'
id 'com.avast.gradle.docker-compose' version '0.7.1'
id 'maven-publish'
}
group 'com.github.CST-Group'
version '0.1.9'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
implementation group: 'org.apache.kafka', name: 'kafka_2.13', version: '2.7.0'
implementation group: 'org.apache.logging.log4j', name:'log4j', version:'2.17.2'
implementation group: 'org.apache.zookeeper', name: 'zookeeper', version: '3.6.2'
implementation group: 'com.github.CST-Group', name:'cst', version: '1.0.0'
testImplementation group: 'org.mockito', name: 'mockito-junit-jupiter', version: '3.8.0'
testImplementation group: 'junit', name: 'junit', version: '4.13.1'
}
dockerCompose {
useComposeFiles = ['docker-compose.yaml']
}
test {
if (project.hasProperty('integrationTest')) {
dependsOn composeUp
finalizedBy composeDown
} else {
exclude '**/**Integration**'
}
}
clean {
delete rootProject.buildDir
}
publishing {
repositories {
maven {
name = "ctm"
url = uri("https://maven.pkg.github.com/cst-group/ctm")
credentials {
username = System.getenv("USERNAME")
password = System.getenv("TOKEN")
}
}
}
publications {
gpr(MavenPublication) {
groupId = 'com.github.CST-Group'
artifactId = 'ctm'
version = '0.1.9'
from(components.java)
}
}
}