Skip to content

Commit

Permalink
Bump spotless til 7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hestad committed Jan 7, 2025
1 parent 404f697 commit 4ff9231
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ val felleslibVersion = "0.0.326"
plugins {
application
kotlin("jvm") version "2.1.0"
id("com.diffplug.spotless") version "6.25.0"
id("com.diffplug.spotless") version "7.0.0"
}

repositories {
Expand Down Expand Up @@ -106,6 +106,8 @@ spotless {
.editorConfigOverride(
mapOf(
"ktlint_standard_max-line-length" to "off",
"ktlint_standard_function-signature" to "disabled",
"ktlint_standard_function-expression-body" to "disabled",
),
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ enum class Systembrukerrolle : GenerellSystembrukerrolle {

data class Systembrukerroller(
override val value: Set<Systembrukerrolle>,
) : GenerellSystembrukerroller<Systembrukerrolle>, Set<Systembrukerrolle> by value {
) : GenerellSystembrukerroller<Systembrukerrolle>,
Set<Systembrukerrolle> by value {
override fun harRolle(rolle: Systembrukerrolle): Boolean = contains(rolle)
constructor(vararg roller: Systembrukerrolle) : this(roller.toSet())
constructor(roller: Collection<Systembrukerrolle>) : this(roller.toSet())
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package no.nav.tiltakspenger.datadeling.felles.app.exception.egendefinerteFeil

class KallTilVedtakFeilException(melding: String) :
RuntimeException(melding)
class KallTilVedtakFeilException(melding: String) : RuntimeException(melding)

0 comments on commit 4ff9231

Please sign in to comment.