-
Notifications
You must be signed in to change notification settings - Fork 125
/
build.gradle
36 lines (29 loc) · 836 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
apply plugin: 'java-library'
apply plugin: 'maven'
archivesBaseName = 'stream-test'
version = '1.2.0-SNAPSHOT'
group = 'com.annimon'
ext.isReleaseVersion = !version.contains("SNAPSHOT")
sourceCompatibility = '1.6'
targetCompatibility = '1.6'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
if (!hasProperty('mainClass')) {
ext.mainClass = ''
}
repositories {
jcenter()
}
dependencies {
api project(':stream')
api 'org.hamcrest:hamcrest-core:1.3'
api 'org.mockito:mockito-core:2.7.13'
testImplementation 'org.hamcrest:hamcrest-library:1.3'
testImplementation group: 'junit', name: 'junit', version: '4.12'
}
cobertura {
coverageExcludes = ['.*com\\.annimon\\.stream\\.test\\.hamcrest\\.CommonMatcher.*']
}
// maven signing
if (ext.isReleaseVersion) {
apply from: 'signing.gradle'
}