diff --git a/build.gradle.kts b/build.gradle.kts index 2abf200f..08effd3e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinVersion plugins { `kotlin-dsl` id("com.gradle.plugin-publish") version "1.2.1" - id("com.diffplug.spotless") version "6.21.0" + id("com.diffplug.spotless") version "6.22.0" id("com.github.johnrengelman.shadow") version "8.1.1" id("org.jetbrains.gradle.plugin.idea-ext") id("com.github.ben-manes.versions") version "0.48.0" diff --git a/src/compatTest/kotlin/io/github/gradlenexus/publishplugin/BaseNexusPublishPluginTests.kt b/src/compatTest/kotlin/io/github/gradlenexus/publishplugin/BaseNexusPublishPluginTests.kt index 3f429764..8a9c1232 100644 --- a/src/compatTest/kotlin/io/github/gradlenexus/publishplugin/BaseNexusPublishPluginTests.kt +++ b/src/compatTest/kotlin/io/github/gradlenexus/publishplugin/BaseNexusPublishPluginTests.kt @@ -53,8 +53,12 @@ abstract class BaseNexusPublishPluginTests { private const val OVERRIDDEN_STAGED_REPOSITORY_ID = "orgexample-42o" } - private enum class StagingRepoTransitionOperation(val urlSufix: String, val desiredState: StagingRepository.State) { - CLOSE("close", StagingRepository.State.CLOSED), RELEASE("promote", StagingRepository.State.NOT_FOUND) + private enum class StagingRepoTransitionOperation( + val urlSufix: String, + val desiredState: StagingRepository.State + ) { + CLOSE("close", StagingRepository.State.CLOSED), + RELEASE("promote", StagingRepository.State.NOT_FOUND) } private val gson = Gson()