-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
67 lines (56 loc) · 1.77 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
66
67
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.4.30'
id "com.github.ben-manes.versions" version "0.36.0"
id 'org.springframework.boot' version '2.4.2'
}
ext {
ktor_version = '1.4.1'
spotify_api_vesrion = '4.3.0'
jrawVersion = '1.1.0'
junit_version = '5.7.0'
}
group 'me.avo'
version '0.9.3'
task stage(dependsOn: ['bootJar', 'clean'])
build.mustRunAfter clean
repositories {
jcenter()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
/* API */
compile "se.michaelthelin.spotify:spotify-web-api-java:$spotify_api_vesrion"
compile "net.dean.jraw:JRAW:$jrawVersion"
/* Server */
compile group: "io.ktor", name: "ktor-server-cio", version: ktor_version
compile "io.ktor:ktor-freemarker:$ktor_version"
/* Util */
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
compile 'org.kodein.di:kodein-di-generic-jvm:6.5.5'
compile 'com.github.salomonbrys.kotson:kotson:2.5.0'
compile 'org.yaml:snakeyaml:1.27'
compile 'com.apurebase:arkenv:3.1.0'
compile 'org.apache.commons:commons-text:1.9'
testImplementation "io.strikt:strikt-core:0.28.2"
testImplementation "io.mockk:mockk:1.10.6"
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: junit_version
testRuntime "org.junit.jupiter:junit-jupiter-engine:$junit_version"
}
test {
useJUnitPlatform {
includeEngines 'junit-jupiter'
}
testLogging {
events "failed"
exceptionFormat "full"
}
failFast = false
}
compileKotlin {
kotlinOptions.jvmTarget = "11"
kotlinOptions.useIR = true
}
compileTestKotlin {
kotlinOptions.jvmTarget = "13"
kotlinOptions.useIR = true
}