-
Notifications
You must be signed in to change notification settings - Fork 30
/
build.gradle
48 lines (39 loc) · 1022 Bytes
/
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
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'maven'
apply plugin: 'java-library-distribution'
archivesBaseName = "connect-mysql-source"
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile "org.apache.kafka:connect-api:0.9.0.0"
compile "com.zendesk:maxwell:0.14.6"
compile "org.slf4j:slf4j-api:1.7.6"
testCompile "junit:junit:4.11"
testCompile "org.easymock:easymock:3.3.1"
testCompile "org.powermock:powermock-module-junit4:1.6.2"
testCompile "org.powermock:powermock-api-easymock:1.6.2"
// testRuntime "org.slf4j:slf4j-log4j12:1.7.6"
testRuntime "org.slf4j:log4j-over-slf4j:1.7.6"
}
task testJar(type: Jar) {
classifier = 'test'
from sourceSets.test.output
}
test {
testLogging {
events "passed", "skipped", "failed"
exceptionFormat = 'full'
}
}
javadoc {
include "**/org/wushujames/connect/mysql/*"
}
artifacts {
archives testJar
}
configurations {
archives.extendsFrom(testCompile)
}