-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
34 lines (26 loc) · 820 Bytes
/
build.gradle
File metadata and controls
34 lines (26 loc) · 820 Bytes
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
subprojects {
apply plugin: 'java'
apply plugin: 'maven'
group 'com.codeborne.assertlog'
version '0.1'
sourceCompatibility = 1.8
targetCompatibility = 1.8
[compileJava, compileTestJava]*.options.collect {options -> options.encoding = 'UTF-8'}
[compileJava, compileTestJava]*.options.collect {options -> options.debug = true}
compileJava.options.debugOptions.debugLevel = "source,lines,vars"
repositories {
jcenter()
mavenCentral()
mavenLocal()
}
tasks.withType(Test).all { testTask ->
testTask.jvmArgs += ['-ea', '-Dfile.encoding=UTF-8']
testTask.testLogging {exceptionFormat = 'full'}
}
test {
include 'org/assertlog/**/*'
systemProperties['file.encoding'] = 'UTF-8'
}
}
defaultTasks 'clean', 'test'
apply from: rootProject.file('gradle/deploy.gradle')