-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
52 lines (45 loc) · 1.36 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
47
48
49
50
51
52
val atriumVersion = "0.12.0"
val javaStringSimilarityVersion = "2.0.0"
val jsonVersion = "20200518"
val kotlinVersion = "1.4.0"
val mockkVersion = "1.10.0"
val fuelVersion = "2.2.1"
val spekVersion = "2.0.9"
plugins {
java
maven
kotlin("jvm") version "1.4.0"
id("org.jmailen.kotlinter") version "3.0.2"
}
group = "com.github.AzurApi"
version = "3.1.5"
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation("com.github.kittinunf.fuel:fuel:$fuelVersion")
implementation("com.github.kittinunf.fuel:fuel-json:$fuelVersion")
implementation("org.json:json:$jsonVersion")
implementation("info.debatty:java-string-similarity:$javaStringSimilarityVersion")
testImplementation("org.spekframework.spek2:spek-dsl-jvm:$spekVersion")
testRuntimeOnly("org.spekframework.spek2:spek-runner-junit5:$spekVersion")
testRuntimeOnly("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
testImplementation("io.mockk:mockk:$mockkVersion")
testImplementation("ch.tutteli.atrium:atrium-fluent-en_GB:$atriumVersion")
}
tasks {
test {
useJUnitPlatform {
includeEngines("spek2")
}
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
}