diff options
author | Linnea Gräf <nea@nea.moe> | 2025-01-17 12:50:23 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2025-01-17 12:51:03 +0100 |
commit | ce6e008426c30cba493832d0866950c59f7c31c1 (patch) | |
tree | 9140e4639575a4e83e77bb5004791a6c25600168 /build-src/src | |
parent | e42bc6340771d87e2fb0263a4ad81528aeebec69 (diff) | |
download | LocalTransactionLedger-ce6e008426c30cba493832d0866950c59f7c31c1.tar.gz LocalTransactionLedger-ce6e008426c30cba493832d0866950c59f7c31c1.tar.bz2 LocalTransactionLedger-ce6e008426c30cba493832d0866950c59f7c31c1.zip |
feat(server): Add openapi docs
Diffstat (limited to 'build-src/src')
-rw-r--r-- | build-src/src/main/kotlin/helpers.kt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build-src/src/main/kotlin/helpers.kt b/build-src/src/main/kotlin/helpers.kt index 5afef4f..48c230e 100644 --- a/build-src/src/main/kotlin/helpers.kt +++ b/build-src/src/main/kotlin/helpers.kt @@ -1,4 +1,5 @@ import org.gradle.api.plugins.ExtensionAware +import org.gradle.kotlin.dsl.DependencyHandlerScope import org.gradle.kotlin.dsl.configure import org.gradle.kotlin.dsl.findByType @@ -8,3 +9,9 @@ inline fun <reified T : Any> ExtensionAware.configureIf(crossinline block: T.() extensions.configure<T> { block() } } } + +val ktor_version = "3.0.3" + +fun DependencyHandlerScope.declareKtorVersion() { + "implementation"(platform("io.ktor:ktor-bom:$ktor_version")) +} |