diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-05-07 16:26:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-07 16:26:10 +0200 |
| commit | 6779f62e6f54b783da348dc1aba248656f7956f7 (patch) | |
| tree | 068a38613d29bdbd4fe39aee90fde86343c656f3 /opendc-platform | |
| parent | d60e230c29beeeaa825987d5abf43c1e6f450dad (diff) | |
| parent | efea162372be99beb4de90929629c7ebccdb8d84 (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-platform')
| -rw-r--r-- | opendc-platform/build.gradle.kts | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/opendc-platform/build.gradle.kts b/opendc-platform/build.gradle.kts index 3fbc144e..35d12434 100644 --- a/opendc-platform/build.gradle.kts +++ b/opendc-platform/build.gradle.kts @@ -25,15 +25,3 @@ plugins { } description = "Java platform for the OpenDC project" - -dependencies { - constraints { - api("org.jetbrains.kotlinx:kotlinx-coroutines-core:${versions.kotlinxCoroutines}") - api("org.jetbrains.kotlinx:kotlinx-coroutines-test:${versions.kotlinxCoroutines}") - - api("com.typesafe:config:1.4.1") - api("io.github.microutils:kotlin-logging:${versions.kotlinLogging}") - runtime("org.slf4j:slf4j-simple:${versions.slf4j}") - runtime("org.apache.logging.log4j:log4j-slf4j-impl:${versions.log4j}") - } -} |
