-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
44 lines (37 loc) · 1.1 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
group 'com.github.silmeth'
version '0.1'
buildscript {
ext {
kotlin_version = "1.1.51"
better_parse_ver = "0.3.1"
junit_platform_ver = "1.0.1"
junit_ver = "5.0.1"
}
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.junit.platform:junit-platform-gradle-plugin:$junit_platform_ver"
}
}
apply plugin: "kotlin"
apply plugin: "org.junit.platform.gradle.plugin"
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
compile "com.github.h0tk3y.betterParse:better-parse:$better_parse_ver"
testCompile "org.junit.platform:junit-platform-launcher:$junit_platform_ver"
testCompile "org.junit.jupiter:junit-jupiter-api:$junit_ver"
testCompile "org.junit.jupiter:junit-jupiter-params:$junit_ver"
testRuntime "org.junit.jupiter:junit-jupiter-engine:$junit_ver"
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}