forked from Kotlin/workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
36 lines (30 loc) · 876 Bytes
/
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
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.21'
}
group 'org.jetbrains.kotlin-workshop'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compile "org.jetbrains.kotlin:kotlin-reflect"
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.1'
testCompile 'org.junit.jupiter:junit-jupiter-engine:5.4.0'
testCompile "org.jetbrains.kotlin:kotlin-test-junit5"
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
sourceSets {
main.kotlin.srcDirs += 'instructor/introduction'
main.kotlin.srcDirs += 'instructor/advanced'
main.kotlin.srcDirs += 'instructor/quizzes'
main.kotlin.srcDirs += 'student/tasks'
test.kotlin.srcDirs += 'student/tests'
}