From edb58609952d25634afc6c71175258916bc0d70d Mon Sep 17 00:00:00 2001 From: Bastiaan Date: Thu, 23 May 2024 21:33:56 +0200 Subject: [PATCH] refactor --- java-sdk/build.gradle.kts | 7 +++++++ java-sdk/buildSrc/src/main/kotlin/Versions.kt | 1 - java-sdk/radar-schemas-registration/build.gradle.kts | 4 ---- java-sdk/radar-schemas-tools/build.gradle.kts | 4 ---- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/java-sdk/build.gradle.kts b/java-sdk/build.gradle.kts index bb1c88b9..d60f340c 100644 --- a/java-sdk/build.gradle.kts +++ b/java-sdk/build.gradle.kts @@ -23,6 +23,13 @@ val githubIssueUrl = "https://github.com/$githubRepoName/issues" subprojects { apply(plugin = "org.radarbase.radar-kotlin") + repositories{ + mavenCentral() + gradlePluginPortal() + mavenLocal() + maven(url = "https://jitpack.io") + } + radarKotlin { javaVersion.set(Versions.java) kotlinVersion.set(Versions.kotlin) diff --git a/java-sdk/buildSrc/src/main/kotlin/Versions.kt b/java-sdk/buildSrc/src/main/kotlin/Versions.kt index 706a8d6e..2b5a0c56 100644 --- a/java-sdk/buildSrc/src/main/kotlin/Versions.kt +++ b/java-sdk/buildSrc/src/main/kotlin/Versions.kt @@ -5,7 +5,6 @@ object Versions { const val java = 17 const val avroGenerator = "1.9.1" - const val radarCommonsPlugin = "1.1.2" const val radarCommons = "1.1.3" const val avro = "1.11.3" const val jackson = "2.16.1" diff --git a/java-sdk/radar-schemas-registration/build.gradle.kts b/java-sdk/radar-schemas-registration/build.gradle.kts index e70db27b..8d398e6a 100644 --- a/java-sdk/radar-schemas-registration/build.gradle.kts +++ b/java-sdk/radar-schemas-registration/build.gradle.kts @@ -1,9 +1,5 @@ description = "RADAR Schemas specification and validation tools" -repositories { - maven(url = "https://jitpack.io") -} - dependencies { api(project(":radar-schemas-commons")) api(project(":radar-schemas-core")) diff --git a/java-sdk/radar-schemas-tools/build.gradle.kts b/java-sdk/radar-schemas-tools/build.gradle.kts index e48fd8e1..03904060 100644 --- a/java-sdk/radar-schemas-tools/build.gradle.kts +++ b/java-sdk/radar-schemas-tools/build.gradle.kts @@ -1,9 +1,5 @@ description = "RADAR Schemas specification and validation tools." -repositories { - maven(url = "https://jitpack.io") -} - dependencies { implementation(project(":radar-schemas-registration")) implementation(platform("com.fasterxml.jackson:jackson-bom:${Versions.jackson}"))