-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathbuild.gradle.kts
44 lines (37 loc) · 1.17 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
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
plugins {
alias(libs.plugins.kotlinx.serialization)
}
description = "Core runtime for Smithy clients and services generated by smithy-kotlin"
extra["displayName"] = "Smithy :: Kotlin :: Runtime"
extra["moduleName"] = "aws.smithy.kotlin.runtime"
apply(plugin = "org.jetbrains.kotlinx.atomicfu")
kotlin {
sourceSets {
commonMain {
dependencies {
implementation(libs.okio)
// Coroutines' locking features are used in retry token bucket implementations
api(libs.kotlinx.coroutines.core)
}
}
commonTest {
dependencies {
// Coroutines' locking features are used in retry token bucket implementations
api(libs.kotlinx.coroutines.test)
implementation(project(":runtime:testing"))
}
}
jvmTest {
dependencies {
implementation(libs.kaml)
}
}
all {
languageSettings.optIn("aws.smithy.kotlin.runtime.InternalApi")
}
}
}