summaryrefslogtreecommitdiff
path: root/opendc-utils
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-05-07 16:26:10 +0200
committerGitHub <noreply@github.com>2021-05-07 16:26:10 +0200
commit6779f62e6f54b783da348dc1aba248656f7956f7 (patch)
tree068a38613d29bdbd4fe39aee90fde86343c656f3 /opendc-utils
parentd60e230c29beeeaa825987d5abf43c1e6f450dad (diff)
parentefea162372be99beb4de90929629c7ebccdb8d84 (diff)
build: Use Gradle version catalog
This pull request updates the Gradle build configuration to use the new version catalog functionality, which allows us to store our dependency versions in a centralized file located at `gradle/libs.versions.toml`. Our previous approach stored the versions in `gradle.properties`. The benefit of this approach however is that (1) it will be supported by Gradle and (2) it allows us to access dependencies safely.
Diffstat (limited to 'opendc-utils')
-rw-r--r--opendc-utils/build.gradle.kts2
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc-utils/build.gradle.kts b/opendc-utils/build.gradle.kts
index 9f712b89..800b374d 100644
--- a/opendc-utils/build.gradle.kts
+++ b/opendc-utils/build.gradle.kts
@@ -30,7 +30,7 @@ plugins {
dependencies {
api(platform(projects.opendcPlatform))
- api("org.jetbrains.kotlinx:kotlinx-coroutines-core")
+ api(libs.kotlinx.coroutines)
testImplementation(projects.opendcSimulator.opendcSimulatorCore)
}