Run spotless
This commit is contained in:
1 parent
8c0369be69
commit
f5e18d8540
33 files changed
+360
-405
No files matched your search
@@ -123,10 +123,9 @@ tasks.register("cleanMigrateAndGenerate") {
|
||||
spotless { kotlin { targetExclude("src/main/jooq/**") } }
|
||||
|
||||
// If someone knows a better way then this please please please help me :(
|
||||
listOf("classes", "processResources", "spotlessKotlin", "spotlessKotlinGradle", "spotlessMisc").forEach { taskName ->
|
||||
tasks.named(taskName) {
|
||||
listOf("copyPublicKeyGame", "copyPrivateKeyGame")
|
||||
.forEach { dependsOn(it) }
|
||||
}
|
||||
}
|
||||
|
||||
listOf("classes", "processResources", "spotlessKotlin", "spotlessKotlinGradle", "spotlessMisc")
|
||||
.forEach { taskName ->
|
||||
tasks.named(taskName) {
|
||||
listOf("copyPublicKeyGame", "copyPrivateKeyGame").forEach { dependsOn(it) }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user