-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
44 lines (35 loc) · 924 Bytes
/
Copy pathbuild.gradle
File metadata and controls
44 lines (35 loc) · 924 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
35
36
37
38
39
40
41
42
43
44
buildscript {
repositories {
gradlePluginPortal()
}
dependencies {
classpath "com.vanniktech:gradle-maven-publish-plugin:0.37.0"
}
}
subprojects {
apply plugin: 'java'
group = 'com.codeborne.assertlog'
version = '0.2-SNAPSHOT'
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
options.debug = true
}
compileJava.options.debugOptions.debugLevel = "source,lines,vars"
repositories {
mavenCentral()
}
tasks.withType(Test).configureEach { 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')