-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Changed root package from "noise_planet" to "noiseplanet" - Added new lines at the end of all files - Slight changes where resolving issues was simple - In other cases, added Suppress annotations and tweaked rules a bit to fit current state of code
- Loading branch information
Showing
71 changed files
with
4,820 additions
and
1,293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,44 @@ | ||
import io.gitlab.arturbosch.detekt.Detekt | ||
import io.gitlab.arturbosch.detekt.DetektCreateBaselineTask | ||
|
||
plugins { | ||
kotlin("android") version libs.versions.kotlin.get() apply false | ||
kotlin("multiplatform") version libs.versions.kotlin.get() apply false | ||
id("com.android.application") version libs.versions.agp.get() apply false | ||
id("org.jetbrains.compose") version libs.versions.compose.plugin.get() apply false | ||
id("com.google.devtools.ksp") version libs.versions.ksp.get() apply false | ||
id("io.gitlab.arturbosch.detekt") version "1.23.6" | ||
id("io.gitlab.arturbosch.detekt") version libs.versions.detekt.get() | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
|
||
allprojects { | ||
|
||
apply(plugin = "io.gitlab.arturbosch.detekt") | ||
|
||
detekt { | ||
buildUponDefaultConfig = true | ||
allRules = true | ||
config.setFrom("$projectDir/../config/detekt.yml") | ||
config.setFrom("$rootDir/config/detekt.yml") | ||
source.setFrom( | ||
"src/main/kotlin", | ||
"src/iosMain/kotlin", | ||
"src/androidMain/kotlin", | ||
"src/jsMain/kotlin", | ||
"src/commonMain/kotlin", | ||
) | ||
autoCorrect = true | ||
} | ||
|
||
// dependencies { | ||
// detektPlugins(rootProject.libs.detekt.formatting) | ||
// } | ||
|
||
tasks.withType<Detekt>().configureEach { | ||
jvmTarget = libs.versions.jvm.target.get() | ||
reports { | ||
html.required.set(true) | ||
} | ||
basePath = rootDir.absolutePath | ||
} | ||
|
||
// Kotlin DSL | ||
tasks.withType<Detekt>().configureEach { | ||
jvmTarget = "1.8" | ||
} | ||
tasks.withType<DetektCreateBaselineTask>().configureEach { | ||
jvmTarget = "1.8" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.