31 lines
1.1 KiB
Groovy
31 lines
1.1 KiB
Groovy
apply plugin: 'java-library'
|
|
|
|
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
|
|
sourceCompatibility = targetCompatibility = appJavaCompatibility
|
|
|
|
dependencies {
|
|
api project(':SPD-classes')
|
|
implementation project(':services')
|
|
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'
|
|
}
|
|
|
|
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"
|
|
}
|
|
}
|
|
|