File tree Expand file tree Collapse file tree
src/main/kotlin/com/mitch/template
ui/designsystem/components/snackbars Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -195,6 +195,10 @@ tasks.withType<io.gitlab.arturbosch.detekt.Detekt>().configureEach {
195195 include(" **/*.kts" )
196196 exclude(" resources/" )
197197 exclude(" build/" )
198+ jvmTarget = JvmTarget .JVM_17 .target
199+ }
200+ tasks.withType< io.gitlab.arturbosch.detekt.DetektCreateBaselineTask > ().configureEach {
201+ jvmTarget = JvmTarget .JVM_17 .target
198202}
199203
200204protobuf {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class TemplateApplication : Application() {
2626 * Set a thread policy that detects all potential problems on the main thread, such as network
2727 * and disk access.
2828 *
29- * If a problem is found, the offending call will be logged and the application will be killed .
29+ * If a problem is found, the offending call will be logged.
3030 */
3131 private fun setStrictModePolicy () {
3232 StrictMode .setThreadPolicy(
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import androidx.compose.ui.Alignment
1616import androidx.compose.ui.Modifier
1717import androidx.compose.ui.graphics.Shape
1818import androidx.compose.ui.graphics.vector.ImageVector
19- import androidx.compose.ui.tooling.preview.Preview
2019import androidx.compose.ui.tooling.preview.PreviewLightDark
2120import com.mitch.template.ui.designsystem.TemplateDesignSystem
2221import com.mitch.template.ui.designsystem.TemplateIcons
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
22<SmellBaseline >
33 <ManuallySuppressedIssues >
4+ <ID >UnusedPrivateProperty:DefaultDependenciesProvider.kt$DefaultDependenciesProvider$private val httpClient: HttpClient by lazy { HttpClient { if (BuildConfig.DEBUG) { install(Logging) { logger = Logger.ANDROID level = LogLevel.BODY } } install(ContentNegotiation) { json(jsonSerializer) } install(Resources) install(Auth) defaultRequest { contentType(ContentType.Application.Json) } } }</ID >
45 <ID >InjectDispatcher:DefaultDependenciesProvider.kt$DefaultDependenciesProvider$Default</ID >
56 <ID >InjectDispatcher:DefaultDependenciesProvider.kt$DefaultDependenciesProvider$IO</ID >
67 </ManuallySuppressedIssues >
78 <CurrentIssues >
8- <ID >UnusedParameter:TemplateNavHost .kt$onShowSnackbar: suspend (SnackbarEvent) -> SnackbarResult</ID >
9+ <ID >UnusedParameter:TemplateNavDisplay .kt$onShowSnackbar: suspend (SnackbarEvent) -> SnackbarResult</ID >
910 <ID >UnusedPrivateProperty:DefaultDependenciesProvider.kt$DefaultDependenciesProvider$private val httpClient: HttpClient by lazy { HttpClient { if (BuildConfig.DEBUG) { install(Logging) { logger = Logger.ANDROID level = LogLevel.BODY } } install(ContentNegotiation) { json(jsonSerializer) } install(Resources) install(Auth) defaultRequest { contentType(ContentType.Application.Json) } } }</ID >
11+ <ID >InjectDispatcher:DefaultDependenciesProvider.kt$DefaultDependenciesProvider$Default</ID >
12+ <ID >InjectDispatcher:DefaultDependenciesProvider.kt$DefaultDependenciesProvider$IO</ID >
1013 </CurrentIssues >
1114</SmellBaseline >
You can’t perform that action at this time.
0 commit comments