-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
63 lines (50 loc) · 1.54 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
group 'com.lunivore'
version '0.0.1'
buildscript {
ext.kotlinVersion = '1.3.0'
ext.junitVersion = '4.12'
ext.log4jVersion = '2.8.2'
ext.mockitoVersion = '1.10.19'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
sourceSets {
scenarios {
kotlin {
compileClasspath += main.output + test.output
runtimeClasspath += main.output + test.output
srcDir file('src/scenarios/kotlin')
resources.srcDirs = ["src/scenarios/resources", "src/test/resources"]
}
}
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
compile "org.apache.logging.log4j:log4j-api:2.11.1"
compile "org.apache.logging.log4j:log4j-core:2.11.1"
compile "org.jetbrains.kotlin:kotlin-reflect"
testCompile "junit:junit:$junitVersion"
testCompile "org.mockito:mockito-all:$mockitoVersion"
testRuntime "junit:junit:$junitVersion"
scenariosCompile "junit:junit:$junitVersion"
scenariosCompile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
scenariosCompile "org.jetbrains.kotlin:kotlin-reflect"
scenariosCompile "org.apache.logging.log4j:log4j-api:2.11.1"
scenariosCompile "org.apache.logging.log4j:log4j-core:2.11.1"
scenariosRuntime "junit:junit:$junitVersion"
}