-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
62 lines (51 loc) · 1.36 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
buildscript {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.0'
}
}
plugins {
id 'java'
id 'idea'
id 'com.zyxist.chainsaw' version '0.1.3'
}
apply plugin: 'org.junit.platform.gradle.plugin'
group 'com.zyxist.rost'
version '0.1.0-SNAPSHOT'
javaModule.name = 'com.zyxist.rost'
javaModule.extraTestModules = ['org.mockito']
ext.log4jVersion = '2.6.2'
ext.slf4jVersion = '1.8.0-beta0'
ext.junitVersion = '5.0.0'
ext.mockitoVersion = '2.11.0'
sourceCompatibility = 1.9
targetCompatibility = 1.9
repositories {
mavenLocal()
jcenter()
}
compileTestJava {
sourceCompatibility = 1.9
targetCompatibility = 1.9
options.compilerArgs += '-parameters'
}
junitPlatform {
filters {
engines {
include 'junit-jupiter'
}
}
logManager 'org.apache.logging.log4j.jul.LogManager'
}
dependencies {
compileOnly('org.slf4j:slf4j-api:' + slf4jVersion)
testCompile('org.junit.jupiter:junit-jupiter-api:' + junitVersion)
testCompile('org.mockito:mockito-core:' + mockitoVersion)
testCompile('org.slf4j:slf4j-api:' + slf4jVersion)
testRuntime('org.junit.jupiter:junit-jupiter-engine:' + junitVersion)
testRuntime('org.apache.logging.log4j:log4j-core:' + log4jVersion)
testRuntime('org.apache.logging.log4j:log4j-jul:' + log4jVersion)
}