-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.gradle
40 lines (35 loc) · 1.07 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
plugins {
id "com.github.hierynomus.license" version "0.16.1" apply false
}
ext {
kafkaClientVersion = "3.4.0"
proxyBaseVersion = "0.0.16"
testContainersVersion = "1.17.6"
junit4Version = "4.13.2"
libLogback = 'ch.qos.logback:logback-classic:1.4.1'
libKafkaClient = "org.apache.kafka:kafka-clients:$kafkaClientVersion"
libProxyBase = "com.dajudge.proxybase:proxybase:$proxyBaseVersion"
libProxyBaseTestca = "com.dajudge.proxybase:testca:$proxyBaseVersion"
libJunit4 = "junit:junit:$junit4Version"
libTestContainers = "org.testcontainers:kafka:$testContainersVersion"
}
subprojects {
repositories {
mavenLocal()
mavenCentral()
}
tasks.withType(JavaCompile) {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
}
allprojects {
apply plugin: 'com.github.hierynomus.license'
apply plugin: 'pmd'
pmd {
ruleSets = [project.rootProject.file("pmd.xml").absolutePath]
}
license {
header file("${project.rootDir}/HEADER")
}
}