Skip to content

Commit

Permalink
Update project
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbel committed Apr 11, 2024
1 parent ddbf5f4 commit eb50175
Show file tree
Hide file tree
Showing 793 changed files with 436 additions and 467 deletions.
22 changes: 11 additions & 11 deletions androidApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -165,17 +165,17 @@ val gmsImplementation by configurations
val hmsImplementation by configurations
val fossImplementation by configurations
dependencies {
gmsImplementation(project(":core:platform-services:inject-kmp"))
hmsImplementation(project(":core:platform-services:inject-kmp"))
fossImplementation(project(":core:platform-services:inject-kmp"))
implementation(project(":feature:account-kmp"))
implementation(project(":feature:auth-kmp"))
implementation(project(":feature:details-kmp"))
implementation(project(":feature:feed-kmp"))
implementation(project(":feature:gallery-kmp"))
implementation(project(":feature:search-kmp"))
implementation(project(":feature:settings-kmp"))
implementation(project(":feature:debug-kmp"))
gmsImplementation(project(":core:platform-services:inject"))
hmsImplementation(project(":core:platform-services:inject"))
fossImplementation(project(":core:platform-services:inject"))
implementation(project(":feature:account"))
implementation(project(":feature:auth"))
implementation(project(":feature:details"))
implementation(project(":feature:feed"))
implementation(project(":feature:gallery"))
implementation(project(":feature:search"))
implementation(project(":feature:settings"))
implementation(project(":feature:debug"))
implementation(libs.bundles.kotlin.reflect.android)
implementation(libs.bundles.koin.compose.work.android)
testImplementation(libs.bundles.junit.android)
Expand Down
2 changes: 1 addition & 1 deletion androidApp/src/main/kotlin/org/michaelbel/movies/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import org.koin.android.ext.koin.androidLogger
import org.koin.androidx.workmanager.factory.KoinWorkerFactory
import org.koin.androidx.workmanager.koin.workManagerFactory
import org.koin.core.context.startKoin
import org.michaelbel.movies.common_kmp.BuildConfig
import org.michaelbel.movies.common.BuildConfig
import org.michaelbel.movies.crashlytics.CrashlyticsTree
import org.michaelbel.movies.di.appKoinModule
import org.michaelbel.movies.platform.app.AppService
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ kotlin {

sourceSets {
commonMain.dependencies {
implementation(project(":core:platform-services:interactor-kmp"))
implementation(project(":core:platform-services:interactor"))
implementation(libs.bundles.koin.common)
}
androidMain.dependencies {
Expand All @@ -25,7 +25,7 @@ kotlin {
}

android {
namespace = "org.michaelbel.movies.analytics_kmp"
namespace = "org.michaelbel.movies.analytics"

defaultConfig {
minSdk = libs.versions.min.sdk.get().toInt()
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ kotlin {
}

android {
namespace = "org.michaelbel.movies.common_kmp"
namespace = "org.michaelbel.movies.common"
sourceSets["main"].res.srcDirs("src/androidMain/res")

defaultConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flowOf
import org.michaelbel.movies.common.biometric.BiometricController
import org.michaelbel.movies.common.biometric.BiometricListener
import org.michaelbel.movies.common_kmp.R
import org.michaelbel.movies.common.R

internal class BiometricControllerImpl(
private val context: Context
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.michaelbel.movies.common.ktx

import org.michaelbel.movies.common_kmp.BuildConfig
import org.michaelbel.movies.common.BuildConfig

fun printlnDebug(message: String) {
if (BuildConfig.DEBUG) {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ kotlin {
}

android {
namespace = "org.michaelbel.movies.debug_kmp"
namespace = "org.michaelbel.movies.debug"
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
sourceSets["main"].res.srcDirs("src/androidMain/res")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import androidx.core.app.NotificationManagerCompat
import org.michaelbel.movies.common.ktx.isPostNotificationsPermissionGranted
import org.michaelbel.movies.common.ktx.notificationManager
import org.michaelbel.movies.debug.DebugActivity
import org.michaelbel.movies.debug_kmp.R
import org.michaelbel.movies.debug.R
import org.michaelbel.movies.ui.icons.MoviesAndroidIcons

class DebugNotificationClient(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import androidx.lifecycle.compose.collectAsStateWithLifecycle
import org.koin.androidx.compose.koinViewModel
import org.michaelbel.movies.common.ktx.appSettingsIntent
import org.michaelbel.movies.debug.DebugViewModel
import org.michaelbel.movies.debug_kmp.R
import org.michaelbel.movies.debug.R
import org.michaelbel.movies.ui.icons.MoviesAndroidIcons
import org.michaelbel.movies.ui.theme.MoviesTheme

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import androidx.compose.material3.TopAppBarScrollBehavior
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.stringResource
import org.michaelbel.movies.debug_kmp.R
import org.michaelbel.movies.debug.R
import org.michaelbel.movies.ui.compose.iconbutton.CloseIcon
import org.michaelbel.movies.ui.ktx.displayCutoutWindowInsets

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ kotlin {

sourceSets {
commonMain.dependencies {
api(project(":core:analytics-kmp"))
api(project(":core:repository-kmp"))
api(project(":core:analytics"))
api(project(":core:repository"))
implementation(compose.runtime)
implementation(compose.runtimeSaveable)
implementation(libs.bundles.kotlinx.coroutines.common)
Expand All @@ -31,7 +31,7 @@ kotlin {
}

android {
namespace = "org.michaelbel.movies.interactor_kmp"
namespace = "org.michaelbel.movies.interactor"

defaultConfig {
minSdk = libs.versions.min.sdk.get().toInt()
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ kotlin {
}

android {
namespace = "org.michaelbel.movies.navigation_kmp"
namespace = "org.michaelbel.movies.navigation"

defaultConfig {
minSdk = libs.versions.min.sdk.get().toInt()
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ kotlin {
}

android {
namespace = "org.michaelbel.movies.network_kmp"
namespace = "org.michaelbel.movies.network"
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")

defaultConfig {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.michaelbel.movies.network.config

import org.michaelbel.movies.network_kmp.BuildConfig
import org.michaelbel.movies.network.BuildConfig

private val tmdbApiKey: String
get() = BuildConfig.TMDB_API_KEY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import org.koin.dsl.module
import org.michaelbel.movies.network.chucker.chuckerKoinModule
import org.michaelbel.movies.network.flaker.di.flakerKoinModule
import org.michaelbel.movies.network.okhttp.interceptor.ApikeyInterceptor
import org.michaelbel.movies.network_kmp.BuildConfig
import org.michaelbel.movies.network.BuildConfig
import java.util.concurrent.TimeUnit

const val HTTP_CACHE_SIZE_BYTES = 1024 * 1024 * 50
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ kotlin {

sourceSets {
commonMain.dependencies {
implementation(project(":core:interactor-kmp"))
implementation(project(":core:ui-kmp"))
implementation(project(":core:interactor"))
implementation(project(":core:ui"))
implementation(libs.bundles.koin.common)
}
androidMain.dependencies {
Expand All @@ -26,7 +26,7 @@ kotlin {
}

android {
namespace = "org.michaelbel.movies.notifications_kmp"
namespace = "org.michaelbel.movies.notifications"
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
sourceSets["main"].res.srcDirs("src/androidMain/res")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import org.michaelbel.movies.common.ktx.isTimePasses
import org.michaelbel.movies.common.ktx.notificationManager
import org.michaelbel.movies.interactor.Interactor
import org.michaelbel.movies.notifications.model.MoviesPush
import org.michaelbel.movies.notifications_kmp.R
import org.michaelbel.movies.notifications.R
import org.michaelbel.movies.ui.icons.MoviesAndroidIcons
import java.util.concurrent.TimeUnit

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ kotlin {

sourceSets {
commonMain.dependencies {
api(project(":core:common-kmp"))
api(project(":core:network-kmp"))
api(project(":core:common"))
api(project(":core:network"))
implementation(libs.bundles.datastore.common)
implementation(libs.bundles.paging.common)
implementation(libs.bundles.koin.common)
Expand All @@ -36,7 +36,7 @@ kotlin {
}

android {
namespace = "org.michaelbel.movies.persistence_kmp"
namespace = "org.michaelbel.movies.persistence"

defaultConfig {
minSdk = libs.versions.min.sdk.get().toInt()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import org.michaelbel.movies.persistence.database.entity.ImageDb
import org.michaelbel.movies.persistence.database.entity.MovieDb
import org.michaelbel.movies.persistence.database.entity.PagingKeyDb
import org.michaelbel.movies.persistence.database.entity.SuggestionDb
import org.michaelbel.movies.persistence_kmp.BuildConfig
import org.michaelbel.movies.persistence.BuildConfig

/**
* The Room database for this app.
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ kotlin {

sourceSets {
commonMain.dependencies {
implementation(project(":core:platform-services:interactor-kmp"))
implementation(project(":core:platform-services:interactor"))
implementation(libs.bundles.kotlinx.coroutines.common)
implementation(libs.bundles.koin.common)
}
}
}

android {
namespace = "org.michaelbel.movies.platform.hms_kmp"
namespace = "org.michaelbel.movies.platform.foss"

defaultConfig {
minSdk = libs.versions.min.sdk.get().toInt()
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ kotlin {

sourceSets {
commonMain.dependencies {
implementation(project(":core:platform-services:interactor-kmp"))
implementation(project(":core:notifications-kmp"))
implementation(project(":core:platform-services:interactor"))
implementation(project(":core:notifications"))
implementation(libs.bundles.koin.common)
}
androidMain.dependencies {
Expand All @@ -29,7 +29,7 @@ kotlin {
}

android {
namespace = "org.michaelbel.movies.platform.gms_kmp"
namespace = "org.michaelbel.movies.platform.gms"
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")

defaultConfig {
Expand Down
Loading

0 comments on commit eb50175

Please sign in to comment.