From b3c572e840ec423c7da4e49c25e90c49383feaca Mon Sep 17 00:00:00 2001 From: Joris Borgdorff Date: Wed, 6 Sep 2023 14:14:46 +0200 Subject: [PATCH] Small code cleanup --- build.gradle.kts | 6 +----- buildSrc/src/main/kotlin/Versions.kt | 1 + .../test/java/org/radarbase/mock/RecordGeneratorTest.java | 2 -- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 65cdf184..32770a66 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -30,7 +30,7 @@ val githubUrl = "https://github.com/$githubRepoName" radarRootProject { projectVersion.set(Versions.project) - gradleVersion.set("8.3") + gradleVersion.set(Versions.Plugins.gradle) } subprojects { @@ -67,8 +67,4 @@ subprojects { junitVersion.set(Versions.junit) slf4jVersion.set(Versions.slf4j) } - - //---------------------------------------------------------------------------// - // Style checking // - //---------------------------------------------------------------------------// } diff --git a/buildSrc/src/main/kotlin/Versions.kt b/buildSrc/src/main/kotlin/Versions.kt index a831fadd..0f213653 100644 --- a/buildSrc/src/main/kotlin/Versions.kt +++ b/buildSrc/src/main/kotlin/Versions.kt @@ -5,6 +5,7 @@ object Versions { const val kotlin = "1.9.10" const val kotlinSerialization = kotlin const val avro = "1.8.0" + const val gradle = "8.3" } const val java = 11 diff --git a/radar-commons-testing/src/test/java/org/radarbase/mock/RecordGeneratorTest.java b/radar-commons-testing/src/test/java/org/radarbase/mock/RecordGeneratorTest.java index fc1e165f..fa6856fc 100644 --- a/radar-commons-testing/src/test/java/org/radarbase/mock/RecordGeneratorTest.java +++ b/radar-commons-testing/src/test/java/org/radarbase/mock/RecordGeneratorTest.java @@ -25,8 +25,6 @@ import java.util.Arrays; import java.util.Iterator; import org.apache.avro.specific.SpecificRecord; -import org.hamcrest.MatcherAssert; -import org.hamcrest.Matchers; import org.junit.jupiter.api.Test; import org.radarbase.data.Record; import org.radarbase.mock.config.MockDataConfig;