-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
54 lines (42 loc) · 870 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
48
49
50
51
52
53
54
plugins {
id 'java'
id 'maven'
}
group 'be.bendem'
version '0.1'
sourceCompatibility = 1.8
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile 'be.bendem:sql-streams:0.1.1'
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:2.1.0-RC.1'
}
install {
repositories.mavenInstaller {
pom.artifactId = 'sql-streams-mapping'
}
}
javadoc {
options.encoding = 'UTF-8'
options.links 'https://docs.oracle.com/javase/8/docs/api/'
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from tasks.javadoc.destinationDir
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives jar
archives javadocJar
archives sourcesJar
}
test {
useJUnit()
testLogging.exceptionFormat = 'full'
}