-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
65 lines (56 loc) · 1.37 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
64
65
buildscript {
ext.kotlinversion = '1.2.0'
ext.junitversion = '1.0.0'
repositories {
mavenLocal ()
mavenCentral ()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinversion"
classpath "org.junit.platform:junit-platform-gradle-plugin:$junitversion"
}
}
apply plugin: 'application'
apply plugin: 'idea'
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'org.junit.platform.gradle.plugin'
group 'com.encodeering'
version '0.0.1-SNAPSHOT'
mainClassName = 'com.encodeering.Application'
repositories {
mavenCentral ()
mavenLocal ()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlinversion"
testCompile "org.junit.platform:junit-platform-runner:$junitversion"
testCompile "com.winterbe:expekt:0.5.0"
testCompile "org.jetbrains.spek:spek-api:1.1.5"
testRuntime "org.jetbrains.spek:spek-junit-platform-engine:1.1.5"
}
sourceSets {
main.kotlin.srcDirs += 'src/main/kotlin'
test.kotlin.srcDirs += 'src/test/kotlin'
}
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}
junitPlatform {
platformVersion "$junitversion"
filters {
engines {
include 'spek'
}
}
}
kotlin {
experimental {
coroutines "enable"
}
}