2019-10-11 02:28:37 +00:00
|
|
|
apply plugin: 'java-library'
|
2016-08-13 06:11:29 +00:00
|
|
|
|
2019-10-11 02:28:37 +00:00
|
|
|
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
|
2019-10-26 17:21:05 +00:00
|
|
|
sourceCompatibility = targetCompatibility = appJavaCompatibility
|
2016-08-13 06:11:29 +00:00
|
|
|
|
|
|
|
dependencies {
|
2019-08-01 19:35:27 +00:00
|
|
|
api project(':SPD-classes')
|
2019-11-22 20:05:47 +00:00
|
|
|
implementation project(':services')
|
2023-07-22 19:11:00 +00:00
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0"
|
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4"
|
|
|
|
implementation "org.slf4j:slf4j-simple:1.7.25"
|
|
|
|
implementation 'io.ktor:ktor-client-core-jvm:2.3.0'
|
|
|
|
implementation 'io.ktor:ktor-client-okhttp-jvm:2.3.0'
|
|
|
|
implementation 'io.ktor:ktor-client-logging-jvm:2.3.0'
|
|
|
|
implementation 'io.ktor:ktor-client-content-negotiation:2.3.0'
|
|
|
|
implementation 'io.ktor:ktor-serialization-kotlinx-json:2.3.0'
|
2016-08-13 06:11:29 +00:00
|
|
|
}
|
2023-07-22 19:11:00 +00:00
|
|
|
|
|
|
|
buildscript {
|
|
|
|
ext.kotlin_version = '1.8.10'
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|