forked from scalar-labs/scalardb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
63 lines (50 loc) · 1.42 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
54
55
56
57
58
59
60
61
62
63
subprojects {
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
// apply plugin: 'jacoco'
apply plugin: 'java-library-distribution'
repositories {
mavenCentral()
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.12'
testImplementation group: 'org.assertj', name: 'assertj-core', version: '3.9.1'
testImplementation group: 'org.mockito', name: 'mockito-core', version: '2.16.0'
testImplementation group: 'org.mockito', name: 'mockito-inline', version: '2.16.0'
}
test {
maxHeapSize "512m"
testLogging.showStandardStreams = true
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
javadoc {
options.addStringOption("notimestamp", "com.scalar.db")
}
distZip {
archiveName = "${project.name}.zip"
duplicatesStrategy 'exclude'
}
distTar {
archiveName = "${project.name}.tar"
duplicatesStrategy 'exclude'
}
installDist {
duplicatesStrategy 'exclude'
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar) {
classifier = 'javadoc'
from javadoc
}
task testJar(type: Jar) {
classifier = 'tests'
from sourceSets.test.output
}
group = "com.scalar-labs"
//version = "3.0.0"
}