Skip to content

Commit

Permalink
explicitly assign all dependency versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Bdegraaf1234 committed Mar 7, 2024
1 parent c21f0b0 commit 57888ee
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
1 change: 0 additions & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ repositories {
mavenCentral()
}


tasks.withType<JavaCompile> {
sourceCompatibility = "17"
targetCompatibility = "17"
Expand Down
1 change: 1 addition & 0 deletions buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ object Versions {
object Plugins {
const val licenseReport = "2.5"
const val kotlin = "1.9.21"
const val dokka = "1.9.10"
const val kotlinSerialization = kotlin
const val kotlinAllOpen = kotlin
const val avro = "1.8.0"
Expand Down
1 change: 1 addition & 0 deletions radar-commons-gradle/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
`kotlin-dsl`
`java-gradle-plugin`
// Match to the versions in the bottom of this file
kotlin("jvm") version "1.9.21"
`maven-publish`
id("io.github.gradle-nexus.publish-plugin") version "2.0.0-rc-1"
Expand Down
8 changes: 4 additions & 4 deletions radar-commons-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ description = "Library for Kotlin utility classes and functions"

dependencies {
api(platform("org.jetbrains.kotlinx:kotlinx-coroutines-bom:${Versions.coroutines}"))
api("org.jetbrains.kotlinx:kotlinx-coroutines-core")
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.coroutines}")

api(platform("io.ktor:ktor-bom:${Versions.ktor}"))
api("io.ktor:ktor-client-auth")
implementation("io.ktor:ktor-client-content-negotiation")
implementation("io.ktor:ktor-serialization-kotlinx-json")
api("io.ktor:ktor-client-auth:${Versions.ktor}")
implementation("io.ktor:ktor-client-content-negotiation:${Versions.ktor}")
implementation("io.ktor:ktor-serialization-kotlinx-json:${Versions.ktor}")

testImplementation("org.hamcrest:hamcrest:${Versions.hamcrest}")
}
5 changes: 2 additions & 3 deletions radar-commons-server/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ dependencies {

// For POJO classes and ConfigLoader
implementation(platform("com.fasterxml.jackson:jackson-bom:${Versions.jackson}"))
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml")
implementation("com.fasterxml.jackson.core:jackson-databind")

implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${Versions.jackson}")
implementation("com.fasterxml.jackson.core:jackson-databind:${Versions.jackson}")

api("org.apache.avro:avro:${Versions.avro}") {
implementation("org.apache.commons:commons-compress:${Versions.commonsCompress}")
Expand Down
4 changes: 2 additions & 2 deletions radar-commons-testing/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ dependencies {

implementation("com.opencsv:opencsv:${Versions.opencsv}")
implementation(platform("com.fasterxml.jackson:jackson-bom:${Versions.jackson}"))
implementation("com.fasterxml.jackson.core:jackson-databind")
implementation("com.fasterxml.jackson.core:jackson-databind:${Versions.jackson}")

implementation("org.apache.kafka:kafka-clients:${Versions.kafka}") {
implementation("org.xerial.snappy:snappy-java:${Versions.snappy}")
Expand All @@ -59,7 +59,7 @@ dependencies {
}

implementation(platform("io.ktor:ktor-bom:${Versions.ktor}"))
implementation("io.ktor:ktor-serialization-kotlinx-json")
implementation("io.ktor:ktor-serialization-kotlinx-json:${Versions.ktor}")

applicationRuntimeOnly("org.slf4j:slf4j-simple:${Versions.slf4j}")

Expand Down
10 changes: 5 additions & 5 deletions radar-commons/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ dependencies {
implementation(project(":radar-commons-kotlin"))

api(platform("io.ktor:ktor-bom:${Versions.ktor}"))
api("io.ktor:ktor-client-core")
api("io.ktor:ktor-client-cio")
api("io.ktor:ktor-client-auth")
implementation("io.ktor:ktor-client-content-negotiation")
implementation("io.ktor:ktor-serialization-kotlinx-json")
api("io.ktor:ktor-client-core:${Versions.ktor}")
api("io.ktor:ktor-client-cio:${Versions.ktor}")
api("io.ktor:ktor-client-auth:${Versions.ktor}")
implementation("io.ktor:ktor-client-content-negotiation:${Versions.ktor}")
implementation("io.ktor:ktor-serialization-kotlinx-json:${Versions.ktor}")

api("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.coroutines}")

Expand Down

0 comments on commit 57888ee

Please sign in to comment.