From 54930893178181de84d7605f5a7c8501d258a975 Mon Sep 17 00:00:00 2001 From: Babis Routis <127745316+babisRoutis@users.noreply.github.com> Date: Thu, 5 Oct 2023 14:09:14 +0300 Subject: [PATCH] Code format (#53) --- build.gradle.kts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 58b14f90..feed547b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -47,7 +47,6 @@ kotlin { } } - testing { suites { val test by getting(JvmTestSuite::class) { @@ -64,7 +63,6 @@ tasks.named("bootBuildImage") { imageName.set("$group/${project.name}") } - spotless { val ktlintVersion = getVersionFromCatalog("ktlintVersion") kotlin { @@ -76,7 +74,6 @@ spotless { } } - fun getVersionFromCatalog(lookup: String): String { val versionCatalog: VersionCatalog = extensions.getByType().named("libs") return versionCatalog @@ -84,4 +81,4 @@ fun getVersionFromCatalog(lookup: String): String { .getOrNull() ?.requiredVersion ?: throw GradleException("Version '$lookup' is not specified in the version catalog") -} \ No newline at end of file +}