-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
58 lines (49 loc) · 1.47 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
group 'com.kotlinports.pooled'
version '0.1-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.1.0-beta-17'
repositories {
mavenCentral()
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
maven {
url 'http://repository.jetbrains.com/all'
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.0-M3'
}
}
subprojects {
repositories {
mavenCentral()
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
maven { url 'http://dl.bintray.com/kotlin/kotlin-eap-1.1' }
maven { url 'http://jcenter.bintray.com' }
}
apply plugin: 'java'
apply plugin: 'kotlin'
version = '0.1-SNAPSHOT'
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile 'io.github.microutils:kotlin-logging:1.4'
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.3-beta'
testCompile 'org.jetbrains.spek:spek-api:1.1.0-beta2'
testRuntime 'org.slf4j:slf4j-jdk14:1.7.21'
testRuntime 'org.jetbrains.spek:spek-junit-platform-engine:1.1.0-beta2'
}
jar {
manifest.attributes provider: 'gradle'
}
apply plugin: 'org.junit.platform.gradle.plugin'
junitPlatform {
filters {
engines {
include 'spek'
}
}
}
}
task wrapper(type: Wrapper) {
gradleVersion = '3.2.1'
}