Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbel committed May 15, 2024
1 parent 5a1598a commit 7bcb43d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ internal class MainViewModel(
fun analyticsTrackDestination(destination: NavDestination, arguments: Bundle?) {
val hashMap = hashMapOf<String, String>()
arguments?.keySet()?.forEach { key ->
hashMap[key] = arguments.get(key).toString()
hashMap[key] = arguments.getString(key).orEmpty()
}
analytics.trackDestination(destination.route, hashMap)
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.michaelbel.movies.platform.impl.app

import org.michaelbel.movies.platform.Flavor
import org.michaelbel.movies.platform.app.AppService

class AppServiceImpl: AppService {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.michaelbel.movies.platform.impl.update

import android.app.Activity
import org.michaelbel.movies.platform.update.UpdateListener
import org.michaelbel.movies.platform.update.UpdateService

class UpdateServiceImpl: UpdateService {
Expand Down
18 changes: 0 additions & 18 deletions core/platform-services/inject-desktop/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
plugins {
alias(libs.plugins.kotlin.multiplatform)
alias(libs.plugins.android.library)
}

kotlin {
Expand All @@ -13,21 +12,4 @@ kotlin {
implementation(libs.bundles.koin.common)
}
}
}

android {
namespace = "org.michaelbel.movies.platform.inject_desktop"

defaultConfig {
minSdk = libs.versions.min.sdk.get().toInt()
compileSdk = libs.versions.compile.sdk.get().toInt()
}

lint {
quiet = true
abortOnError = false
ignoreWarnings = true
checkDependencies = true
lintConfig = file("${project.rootDir}/config/codestyle/lint.xml")
}
}

0 comments on commit 7bcb43d

Please sign in to comment.