Skip to content

Commit

Permalink
Unify dependency versions
Browse files Browse the repository at this point in the history
  • Loading branch information
pvannierop committed Sep 23, 2024
1 parent 6a82a0d commit 41133b5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 58 deletions.
38 changes: 20 additions & 18 deletions buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,36 @@ object Versions {
const val project = "1.1.3-SNAPSHOT"

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"
const val dokka = "1.9.10"
const val gradle = "8.3"
const val kotlin = "1.9.21"
const val kotlinAllOpen = kotlin
const val kotlinSerialization = kotlin
const val licenseReport = "2.5"
const val publishPlugin = "2.0.0-rc-1"
}

const val java = 17
const val slf4j = "2.0.13"
const val confluent = "7.6.0"
const val kafka = "${confluent}-ce"
const val avro = "1.11.3"
const val commonsCompress = "1.26.0"
const val confluent = "7.6.0"
const val coroutines = "1.7.3"
const val gradleVersionsPlugin = "0.50.0"
const val guava = "32.1.1-jre"
const val hamcrest = "2.2"
const val jackson = "2.15.3"
const val okhttp = "4.12.0"
const val java = 17
const val junit = "5.10.0"
const val kafka = "$confluent-ce"
const val ktlint = "12.0.3"
const val ktor = "2.3.4"
const val mockito = "5.5.0"
const val mockitoKotlin = "5.1.0"
const val hamcrest = "2.2"
const val radarSchemas = "0.8.8"
const val okhttp = "4.12.0"
const val opencsv = "5.8"
const val ktor = "2.3.4"
const val coroutines = "1.7.3"
const val commonsCompress = "1.26.0"
const val radarSchemas = "0.8.8"
const val sentry = "4.10.0"
const val slf4j = "2.0.13"
const val snappy = "1.1.10.5"
const val guava = "32.1.1-jre"
const val gradleVersionsPlugin = "0.50.0"
const val ktlint = "12.0.3"

}
40 changes: 0 additions & 40 deletions radar-commons-gradle/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -172,43 +172,3 @@ tasks.withType<Sign> {
tasks.withType<PublishToMavenRepository> {
dependsOn(tasks.withType<Sign>())
}

// Because this project is where all the required plugins get built, we need to add the dependencies separately here.
// They should be copied from the Versions.kt file directly to maintain consistency.
@Suppress("ConstPropertyName", "MemberVisibilityCanBePrivate")
object Versions {
const val project = "1.1.3-SNAPSHOT"

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"
const val gradle = "8.3"
const val publishPlugin = "2.0.0-rc-1"
}

const val java = 17
const val slf4j = "2.0.13"
const val confluent = "7.6.0"
const val kafka = "${confluent}-ce"
const val avro = "1.11.3"
const val jackson = "2.15.3"
const val okhttp = "4.12.0"
const val junit = "5.10.0"
const val mockito = "5.5.0"
const val mockitoKotlin = "5.1.0"
const val hamcrest = "2.2"
const val radarSchemas = "0.8.8"
const val opencsv = "5.8"
const val ktor = "2.3.4"
const val coroutines = "1.7.3"
const val commonsCompress = "1.26.0"
const val snappy = "1.1.10.5"
const val guava = "32.1.1-jre"
const val gradleVersionsPlugin = "0.50.0"
const val ktlint = "12.0.3"
const val sentry = "4.10.0"
}

0 comments on commit 41133b5

Please sign in to comment.