-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
46 lines (36 loc) · 1.25 KB
/
build.gradle.kts
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.6.10"
}
group = "me.james"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven {
url = uri("https://www.jetbrains.com/intellij-repository/releases")
}
maven {
url =
uri("https://cache-redirector.jetbrains.com/intellij-dependencies")
}
}
dependencies {
implementation("com.michael-bull.kotlin-result:kotlin-result:1.1.14")
implementation("com.michael-bull.kotlin-result:kotlin-result-coroutines:1.1.14")
implementation("org.junit.jupiter:junit-jupiter:5.8.2")
implementation("org.jetbrains.kotlin:kotlin-scripting-jsr223:1.6.0")
testImplementation("org.jetbrains.kotlin:kotlin-test:1.6.0")
testImplementation("org.jetbrains.kotlin:kotlin-test:kotlin-test-junit")
implementation("junit:junit:4.13.2")
implementation("org.jetbrains.kotlin:kotlin-script-runtime")
implementation("org.jetbrains.kotlin:kotlin-compiler:1.6.10")
implementation("org.jetbrains.kotlin:kotlin-script-util")
implementation("org.jetbrains.kotlin:kotlin-scripting-compiler:1.6.10")
}
tasks.test {
useJUnit()
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}