forked from replay-framework/replay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
63 lines (54 loc) · 1.25 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
defaultTasks 'clean', 'check', 'publishToMavenLocal'
subprojects {
group='com.codeborne.replay'
version=project.properties['revision'] ?: '1.9.4'
apply plugin: 'java'
apply plugin: 'java-library'
[compileJava, compileTestJava]*.options.collect {options ->
options.encoding = 'UTF-8'
options.compilerArgs << '-parameters'
options.debug = true
options.debugOptions.debugLevel = "source,lines,vars"
}
sourceCompatibility = 11
targetCompatibility = 11
repositories {
mavenCentral()
mavenLocal()
}
sourceSets {
main {
java {
srcDir 'src'
include '**/*.java'
include '**/*.kt'
}
resources {
srcDir 'src'
exclude '**/*.java'
exclude '**/*.kt'
}
}
test {
java {
srcDir 'test'
include '**/*.java'
include '**/*.kt'
}
resources {
srcDir 'test'
exclude '**/*.java'
exclude '**/*.kt'
}
}
}
test {
include 'play/**/*'
systemProperties['file.encoding'] = 'UTF-8'
}
tasks.withType(Test).all { testTask ->
testTask.systemProperties['file.encoding'] = 'UTF-8'
testTask.testLogging {exceptionFormat = 'full'}
testTask.outputs.upToDateWhen { false }
}
}