From 16607803740bb5b9feb9677796c7a77d522772fb Mon Sep 17 00:00:00 2001 From: Marco Romano Date: Tue, 14 Mar 2023 10:56:01 +0100 Subject: [PATCH] Rename the whole project to Mooviez (#11) * Massively rename package name to net.marcoromano.mooviez (including directories) * Some last manual tweaks * New firebase json --- README.md | 5 +++-- app/build.gradle.kts | 4 ++-- app/google-services.json | 16 ++++++++-------- .../app}/ExampleInstrumentedTest.kt | 5 ++--- .../{tmdb => mooviez}/app/Application.kt | 2 +- .../{tmdb => mooviez}/app/ApplicationModule.kt | 2 +- .../{tmdb => mooviez}/app/MainActivity.kt | 6 +++--- .../{tmdb => mooviez}/app/ui/AppNavHost.kt | 6 +++--- .../{tmdb => mooviez}/app/ui/AppUi.kt | 2 +- .../{tmdb => mooviez}/app/ui/theme/Color.kt | 2 +- .../{tmdb => mooviez}/app/ui/theme/Theme.kt | 2 +- .../{tmdb => mooviez}/app/ui/theme/Type.kt | 2 +- app/src/main/res/values/strings.xml | 2 +- .../{tmdb => mooviez}/ExampleUnitTest.kt | 2 +- .../database/DatabaseFakeModule.kt | 2 +- .../{tmdb => mooviez}/database/DatabaseFake.kt | 2 +- .../database/DatabaseFakeTest.kt | 2 +- database/impl-wiring/build.gradle.kts | 2 +- .../database/DatabaseImplModule.kt | 2 +- database/impl/build.gradle.kts | 2 +- .../{tmdb => mooviez}/database/DatabaseImpl.kt | 4 ++-- .../database/DatabaseImplTest.kt | 2 +- database/public/build.gradle.kts | 2 +- .../{tmdb => mooviez}/database/Movie.sq | 0 .../httpapi/HttpApiFakeModule.kt | 2 +- .../{tmdb => mooviez}/httpapi/HttpApiFake.kt | 2 +- .../{tmdb => mooviez}/httpapi/HttpApiFakeTest.kt | 2 +- .../httpapi/HttpApiImplModule.kt | 2 +- .../{tmdb => mooviez}/httpapi/HttpApiImpl.kt | 2 +- .../{tmdb => mooviez}/httpapi/HttpApiImplTest.kt | 2 +- .../{tmdb => mooviez}/httpapi/HttpApi.kt | 2 +- .../{tmdb => mooviez}/httpapi/MediaType.kt | 2 +- .../{tmdb => mooviez}/httpapi/Movie.kt | 2 +- .../{tmdb => mooviez}/httpapi/TimeWindow.kt | 2 +- .../{tmdb => mooviez}/httpapi/TrendingMovies.kt | 2 +- movie/build.gradle.kts | 2 +- .../movie/FeatureScreenIntegrationTest.kt | 2 +- .../movie/FeatureScreenUnitTest.kt | 2 +- .../{tmdb => mooviez}/movie/DemoMovie.kt | 4 ++-- .../{tmdb => mooviez}/movie/MovieNavigation.kt | 2 +- .../{tmdb => mooviez}/movie/MovieScreen.kt | 4 ++-- .../{tmdb => mooviez}/movie/MovieState.kt | 4 ++-- .../{tmdb => mooviez}/movie/MovieViewModel.kt | 6 +++--- .../{tmdb => mooviez}/movie/widgets/Movie.kt | 6 +++--- .../mooviez/movie}/MainCoroutineScopeRule.kt | 2 +- settings.gradle.kts | 2 +- trending/build.gradle.kts | 2 +- .../feature/FeatureScreenIntegrationTest.kt | 2 +- .../skeleton/feature/FeatureScreenUnitTest.kt | 2 +- .../trending/TrendingNavigation.kt | 2 +- .../{tmdb => mooviez}/trending/TrendingScreen.kt | 4 ++-- .../widgets/trending/TrendingLazyVerticalGrid.kt | 4 ++-- .../TrendingLazyVerticalGridViewModel.kt | 6 +++--- .../mooviez/trending}/MainCoroutineScopeRule.kt | 2 +- 54 files changed, 80 insertions(+), 80 deletions(-) rename app/src/androidTest/kotlin/net/marcoromano/{skeleton => mooviez/app}/ExampleInstrumentedTest.kt (90%) rename app/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/app/Application.kt (77%) rename app/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/app/ApplicationModule.kt (94%) rename app/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/app/MainActivity.kt (82%) rename app/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/app/ui/AppNavHost.kt (85%) rename app/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/app/ui/AppUi.kt (93%) rename app/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/app/ui/theme/Color.kt (98%) rename app/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/app/ui/theme/Theme.kt (98%) rename app/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/app/ui/theme/Type.kt (95%) rename app/src/test/kotlin/net/marcoromano/{tmdb => mooviez}/ExampleUnitTest.kt (90%) rename database/fake-wiring/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/database/DatabaseFakeModule.kt (88%) rename database/fake/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/database/DatabaseFake.kt (84%) rename database/fake/src/test/kotlin/net/marcoromano/{tmdb => mooviez}/database/DatabaseFakeTest.kt (81%) rename database/impl-wiring/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/database/DatabaseImplModule.kt (90%) rename database/impl/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/database/DatabaseImpl.kt (86%) rename database/impl/src/test/kotlin/net/marcoromano/{tmdb => mooviez}/database/DatabaseImplTest.kt (91%) rename database/public/src/main/sqldelight/net/marcoromano/{tmdb => mooviez}/database/Movie.sq (100%) rename httpapi/fake-wiring/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/httpapi/HttpApiFakeModule.kt (88%) rename httpapi/fake/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/httpapi/HttpApiFake.kt (96%) rename httpapi/fake/src/test/kotlin/net/marcoromano/{tmdb => mooviez}/httpapi/HttpApiFakeTest.kt (92%) rename httpapi/impl-wiring/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/httpapi/HttpApiImplModule.kt (93%) rename httpapi/impl/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/httpapi/HttpApiImpl.kt (96%) rename httpapi/impl/src/test/kotlin/net/marcoromano/{tmdb => mooviez}/httpapi/HttpApiImplTest.kt (98%) rename httpapi/public/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/httpapi/HttpApi.kt (92%) rename httpapi/public/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/httpapi/MediaType.kt (81%) rename httpapi/public/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/httpapi/Movie.kt (88%) rename httpapi/public/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/httpapi/TimeWindow.kt (78%) rename httpapi/public/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/httpapi/TrendingMovies.kt (91%) rename movie/src/androidTest/kotlin/net/marcoromano/{tmdb => mooviez}/movie/FeatureScreenIntegrationTest.kt (95%) rename movie/src/androidTest/kotlin/net/marcoromano/{tmdb => mooviez}/movie/FeatureScreenUnitTest.kt (96%) rename movie/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/movie/DemoMovie.kt (88%) rename movie/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/movie/MovieNavigation.kt (95%) rename movie/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/movie/MovieScreen.kt (97%) rename movie/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/movie/MovieState.kt (64%) rename movie/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/movie/MovieViewModel.kt (91%) rename movie/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/movie/widgets/Movie.kt (95%) rename {trending/src/test/kotlin/net/marcoromano/tmdb/trending => movie/src/test/kotlin/net/marcoromano/mooviez/movie}/MainCoroutineScopeRule.kt (95%) rename trending/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/trending/TrendingNavigation.kt (94%) rename trending/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/trending/TrendingScreen.kt (92%) rename trending/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/trending/widgets/trending/TrendingLazyVerticalGrid.kt (98%) rename trending/src/main/kotlin/net/marcoromano/{tmdb => mooviez}/trending/widgets/trending/TrendingLazyVerticalGridViewModel.kt (89%) rename {movie/src/test/kotlin/net/marcoromano/tmdb/movie => trending/src/test/kotlin/net/marcoromano/mooviez/trending}/MainCoroutineScopeRule.kt (94%) diff --git a/README.md b/README.md index e289e861..01838d30 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# TMDB Explorer -## Unofficial Android client app for tmdb.org +# Mooviez +## Browse information about movies and tv shows. This is meant to be a showcase app featuring modern Android development practices. +The data presented by this app is kindly provided by themoviedb.org diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 2f90ee33..34105c28 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -14,7 +14,7 @@ plugins { } android { - namespace = "net.marcoromano.tmdb.app" + namespace = "net.marcoromano.mooviez.app" signingConfigs { create("release") { storeFile = file(".secrets/keystore.jks") @@ -30,7 +30,7 @@ android { buildToolsVersion = libs.versions.android.buildTools.get() compileSdk = libs.versions.android.compileSdk.get().toInt() defaultConfig { - applicationId = "net.marcoromano.tmdb" + applicationId = "net.marcoromano.mooviez" minSdk = libs.versions.android.minSdk.get().toInt() targetSdk = libs.versions.android.targetSdk.get().toInt() testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" diff --git a/app/google-services.json b/app/google-services.json index e2ce51c7..c634b406 100644 --- a/app/google-services.json +++ b/app/google-services.json @@ -1,33 +1,33 @@ { "project_info": { - "project_number": "613195079771", - "project_id": "tmdb-explorer-bbf2a", - "storage_bucket": "tmdb-explorer-bbf2a.appspot.com" + "project_number": "514276520428", + "project_id": "mooviez-d64ab", + "storage_bucket": "mooviez-d64ab.appspot.com" }, "client": [ { "client_info": { - "mobilesdk_app_id": "1:613195079771:android:67d1b6616df0d59c9edf7e", + "mobilesdk_app_id": "1:514276520428:android:96ebfcc92f70c41989d0c9", "android_client_info": { - "package_name": "net.marcoromano.tmdb" + "package_name": "net.marcoromano.mooviez" } }, "oauth_client": [ { - "client_id": "613195079771-5m56hfai0d4sbtrgo7rbaehv0vg2lfhq.apps.googleusercontent.com", + "client_id": "514276520428-l640oei88908m7oub18un85eqri6mojm.apps.googleusercontent.com", "client_type": 3 } ], "api_key": [ { - "current_key": "AIzaSyAhyWAOTU8800vwrQ9FhX0iV_vT7fAM0DY" + "current_key": "AIzaSyAI2eSCwUZMk6WBKt1qnZMnu966v0bJKdo" } ], "services": { "appinvite_service": { "other_platform_oauth_client": [ { - "client_id": "613195079771-5m56hfai0d4sbtrgo7rbaehv0vg2lfhq.apps.googleusercontent.com", + "client_id": "514276520428-l640oei88908m7oub18un85eqri6mojm.apps.googleusercontent.com", "client_type": 3 } ] diff --git a/app/src/androidTest/kotlin/net/marcoromano/skeleton/ExampleInstrumentedTest.kt b/app/src/androidTest/kotlin/net/marcoromano/mooviez/app/ExampleInstrumentedTest.kt similarity index 90% rename from app/src/androidTest/kotlin/net/marcoromano/skeleton/ExampleInstrumentedTest.kt rename to app/src/androidTest/kotlin/net/marcoromano/mooviez/app/ExampleInstrumentedTest.kt index 9bb918d9..06a8a6f5 100644 --- a/app/src/androidTest/kotlin/net/marcoromano/skeleton/ExampleInstrumentedTest.kt +++ b/app/src/androidTest/kotlin/net/marcoromano/mooviez/app/ExampleInstrumentedTest.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb +package net.marcoromano.mooviez.app import androidx.compose.ui.test.assertTextEquals import androidx.compose.ui.test.junit4.createComposeRule @@ -8,7 +8,6 @@ import androidx.compose.ui.test.performTextInput import androidx.test.core.app.launchActivity import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.platform.app.InstrumentationRegistry -import net.marcoromano.tmdb.app.MainActivity import org.junit.Assert.assertEquals import org.junit.Rule import org.junit.Test @@ -29,7 +28,7 @@ class ExampleInstrumentedTest { fun useAppContext() { // Context of the app under test. val appContext = InstrumentationRegistry.getInstrumentation().targetContext - assertEquals("net.marcoromano.tmdb", appContext.packageName) + assertEquals("net.marcoromano.mooviez", appContext.packageName) } @Test diff --git a/app/src/main/kotlin/net/marcoromano/tmdb/app/Application.kt b/app/src/main/kotlin/net/marcoromano/mooviez/app/Application.kt similarity index 77% rename from app/src/main/kotlin/net/marcoromano/tmdb/app/Application.kt rename to app/src/main/kotlin/net/marcoromano/mooviez/app/Application.kt index 18f7de7f..e2f2ce25 100644 --- a/app/src/main/kotlin/net/marcoromano/tmdb/app/Application.kt +++ b/app/src/main/kotlin/net/marcoromano/mooviez/app/Application.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.app +package net.marcoromano.mooviez.app import android.app.Application import dagger.hilt.android.HiltAndroidApp diff --git a/app/src/main/kotlin/net/marcoromano/tmdb/app/ApplicationModule.kt b/app/src/main/kotlin/net/marcoromano/mooviez/app/ApplicationModule.kt similarity index 94% rename from app/src/main/kotlin/net/marcoromano/tmdb/app/ApplicationModule.kt rename to app/src/main/kotlin/net/marcoromano/mooviez/app/ApplicationModule.kt index b5325e58..bc4bb385 100644 --- a/app/src/main/kotlin/net/marcoromano/tmdb/app/ApplicationModule.kt +++ b/app/src/main/kotlin/net/marcoromano/mooviez/app/ApplicationModule.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.app +package net.marcoromano.mooviez.app import android.app.Application import dagger.Module diff --git a/app/src/main/kotlin/net/marcoromano/tmdb/app/MainActivity.kt b/app/src/main/kotlin/net/marcoromano/mooviez/app/MainActivity.kt similarity index 82% rename from app/src/main/kotlin/net/marcoromano/tmdb/app/MainActivity.kt rename to app/src/main/kotlin/net/marcoromano/mooviez/app/MainActivity.kt index 130da8fa..9732a750 100644 --- a/app/src/main/kotlin/net/marcoromano/tmdb/app/MainActivity.kt +++ b/app/src/main/kotlin/net/marcoromano/mooviez/app/MainActivity.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.app +package net.marcoromano.mooviez.app import android.os.Bundle import androidx.activity.ComponentActivity @@ -6,8 +6,8 @@ import androidx.activity.compose.setContent import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen import androidx.core.view.WindowCompat import dagger.hilt.android.AndroidEntryPoint -import net.marcoromano.tmdb.app.ui.AppUi -import net.marcoromano.tmdb.app.ui.theme.AppTheme +import net.marcoromano.mooviez.app.ui.AppUi +import net.marcoromano.mooviez.app.ui.theme.AppTheme @AndroidEntryPoint class MainActivity : ComponentActivity() { diff --git a/app/src/main/kotlin/net/marcoromano/tmdb/app/ui/AppNavHost.kt b/app/src/main/kotlin/net/marcoromano/mooviez/app/ui/AppNavHost.kt similarity index 85% rename from app/src/main/kotlin/net/marcoromano/tmdb/app/ui/AppNavHost.kt rename to app/src/main/kotlin/net/marcoromano/mooviez/app/ui/AppNavHost.kt index f1edbf1a..1e56c538 100644 --- a/app/src/main/kotlin/net/marcoromano/tmdb/app/ui/AppNavHost.kt +++ b/app/src/main/kotlin/net/marcoromano/mooviez/app/ui/AppNavHost.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.app.ui +package net.marcoromano.mooviez.app.ui import androidx.compose.animation.ExperimentalAnimationApi import androidx.compose.foundation.layout.fillMaxSize @@ -6,8 +6,8 @@ import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import com.google.accompanist.navigation.animation.AnimatedNavHost import com.google.accompanist.navigation.animation.rememberAnimatedNavController -import net.marcoromano.tmdb.movie.MovieNavigation -import net.marcoromano.tmdb.trending.TrendingNavigation +import net.marcoromano.mooviez.movie.MovieNavigation +import net.marcoromano.mooviez.trending.TrendingNavigation @OptIn(ExperimentalAnimationApi::class) @Composable diff --git a/app/src/main/kotlin/net/marcoromano/tmdb/app/ui/AppUi.kt b/app/src/main/kotlin/net/marcoromano/mooviez/app/ui/AppUi.kt similarity index 93% rename from app/src/main/kotlin/net/marcoromano/tmdb/app/ui/AppUi.kt rename to app/src/main/kotlin/net/marcoromano/mooviez/app/ui/AppUi.kt index ee89263b..205bb7b2 100644 --- a/app/src/main/kotlin/net/marcoromano/tmdb/app/ui/AppUi.kt +++ b/app/src/main/kotlin/net/marcoromano/mooviez/app/ui/AppUi.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.app.ui +package net.marcoromano.mooviez.app.ui import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.runtime.Composable diff --git a/app/src/main/kotlin/net/marcoromano/tmdb/app/ui/theme/Color.kt b/app/src/main/kotlin/net/marcoromano/mooviez/app/ui/theme/Color.kt similarity index 98% rename from app/src/main/kotlin/net/marcoromano/tmdb/app/ui/theme/Color.kt rename to app/src/main/kotlin/net/marcoromano/mooviez/app/ui/theme/Color.kt index b9fdb807..f9e2bc92 100644 --- a/app/src/main/kotlin/net/marcoromano/tmdb/app/ui/theme/Color.kt +++ b/app/src/main/kotlin/net/marcoromano/mooviez/app/ui/theme/Color.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.app.ui.theme +package net.marcoromano.mooviez.app.ui.theme import androidx.compose.ui.graphics.Color diff --git a/app/src/main/kotlin/net/marcoromano/tmdb/app/ui/theme/Theme.kt b/app/src/main/kotlin/net/marcoromano/mooviez/app/ui/theme/Theme.kt similarity index 98% rename from app/src/main/kotlin/net/marcoromano/tmdb/app/ui/theme/Theme.kt rename to app/src/main/kotlin/net/marcoromano/mooviez/app/ui/theme/Theme.kt index ab6e4f43..fb6d79f3 100644 --- a/app/src/main/kotlin/net/marcoromano/tmdb/app/ui/theme/Theme.kt +++ b/app/src/main/kotlin/net/marcoromano/mooviez/app/ui/theme/Theme.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.app.ui.theme +package net.marcoromano.mooviez.app.ui.theme import android.app.Activity import android.os.Build diff --git a/app/src/main/kotlin/net/marcoromano/tmdb/app/ui/theme/Type.kt b/app/src/main/kotlin/net/marcoromano/mooviez/app/ui/theme/Type.kt similarity index 95% rename from app/src/main/kotlin/net/marcoromano/tmdb/app/ui/theme/Type.kt rename to app/src/main/kotlin/net/marcoromano/mooviez/app/ui/theme/Type.kt index 3d768cb8..eb0ff919 100644 --- a/app/src/main/kotlin/net/marcoromano/tmdb/app/ui/theme/Type.kt +++ b/app/src/main/kotlin/net/marcoromano/mooviez/app/ui/theme/Type.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.app.ui.theme +package net.marcoromano.mooviez.app.ui.theme import androidx.compose.material3.Typography import androidx.compose.ui.text.TextStyle diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 44e8e105..cce3bc4c 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,3 +1,3 @@ - TMDB Explorer + Mooviez diff --git a/app/src/test/kotlin/net/marcoromano/tmdb/ExampleUnitTest.kt b/app/src/test/kotlin/net/marcoromano/mooviez/ExampleUnitTest.kt similarity index 90% rename from app/src/test/kotlin/net/marcoromano/tmdb/ExampleUnitTest.kt rename to app/src/test/kotlin/net/marcoromano/mooviez/ExampleUnitTest.kt index f25a505b..7ae903b6 100644 --- a/app/src/test/kotlin/net/marcoromano/tmdb/ExampleUnitTest.kt +++ b/app/src/test/kotlin/net/marcoromano/mooviez/ExampleUnitTest.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb +package net.marcoromano.mooviez import org.junit.Assert.assertEquals import org.junit.Test diff --git a/database/fake-wiring/src/main/kotlin/net/marcoromano/tmdb/database/DatabaseFakeModule.kt b/database/fake-wiring/src/main/kotlin/net/marcoromano/mooviez/database/DatabaseFakeModule.kt similarity index 88% rename from database/fake-wiring/src/main/kotlin/net/marcoromano/tmdb/database/DatabaseFakeModule.kt rename to database/fake-wiring/src/main/kotlin/net/marcoromano/mooviez/database/DatabaseFakeModule.kt index 4e9d774e..a97ee88a 100644 --- a/database/fake-wiring/src/main/kotlin/net/marcoromano/tmdb/database/DatabaseFakeModule.kt +++ b/database/fake-wiring/src/main/kotlin/net/marcoromano/mooviez/database/DatabaseFakeModule.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.database +package net.marcoromano.mooviez.database import dagger.Module import dagger.Provides diff --git a/database/fake/src/main/kotlin/net/marcoromano/tmdb/database/DatabaseFake.kt b/database/fake/src/main/kotlin/net/marcoromano/mooviez/database/DatabaseFake.kt similarity index 84% rename from database/fake/src/main/kotlin/net/marcoromano/tmdb/database/DatabaseFake.kt rename to database/fake/src/main/kotlin/net/marcoromano/mooviez/database/DatabaseFake.kt index b1173ad0..dc02a901 100644 --- a/database/fake/src/main/kotlin/net/marcoromano/tmdb/database/DatabaseFake.kt +++ b/database/fake/src/main/kotlin/net/marcoromano/mooviez/database/DatabaseFake.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.database +package net.marcoromano.mooviez.database import com.squareup.sqldelight.sqlite.driver.JdbcSqliteDriver diff --git a/database/fake/src/test/kotlin/net/marcoromano/tmdb/database/DatabaseFakeTest.kt b/database/fake/src/test/kotlin/net/marcoromano/mooviez/database/DatabaseFakeTest.kt similarity index 81% rename from database/fake/src/test/kotlin/net/marcoromano/tmdb/database/DatabaseFakeTest.kt rename to database/fake/src/test/kotlin/net/marcoromano/mooviez/database/DatabaseFakeTest.kt index b8c276e8..d0f9b550 100644 --- a/database/fake/src/test/kotlin/net/marcoromano/tmdb/database/DatabaseFakeTest.kt +++ b/database/fake/src/test/kotlin/net/marcoromano/mooviez/database/DatabaseFakeTest.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.database +package net.marcoromano.mooviez.database import org.junit.Assert.assertNotNull import org.junit.Test diff --git a/database/impl-wiring/build.gradle.kts b/database/impl-wiring/build.gradle.kts index 1fad1fa6..a23a50dd 100644 --- a/database/impl-wiring/build.gradle.kts +++ b/database/impl-wiring/build.gradle.kts @@ -10,5 +10,5 @@ dependencies { } android { - namespace = "net.marcoromano.tmdb.database.wiring" + namespace = "net.marcoromano.mooviez.database.wiring" } diff --git a/database/impl-wiring/src/main/kotlin/net/marcoromano/tmdb/database/DatabaseImplModule.kt b/database/impl-wiring/src/main/kotlin/net/marcoromano/mooviez/database/DatabaseImplModule.kt similarity index 90% rename from database/impl-wiring/src/main/kotlin/net/marcoromano/tmdb/database/DatabaseImplModule.kt rename to database/impl-wiring/src/main/kotlin/net/marcoromano/mooviez/database/DatabaseImplModule.kt index 724c80fa..b5c2d98c 100644 --- a/database/impl-wiring/src/main/kotlin/net/marcoromano/tmdb/database/DatabaseImplModule.kt +++ b/database/impl-wiring/src/main/kotlin/net/marcoromano/mooviez/database/DatabaseImplModule.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.database +package net.marcoromano.mooviez.database import android.app.Application import dagger.Module diff --git a/database/impl/build.gradle.kts b/database/impl/build.gradle.kts index c69452a2..0ad36f88 100644 --- a/database/impl/build.gradle.kts +++ b/database/impl/build.gradle.kts @@ -9,5 +9,5 @@ dependencies { } android { - namespace = "net.marcoromano.tmdb.database" + namespace = "net.marcoromano.mooviez.database" } diff --git a/database/impl/src/main/kotlin/net/marcoromano/tmdb/database/DatabaseImpl.kt b/database/impl/src/main/kotlin/net/marcoromano/mooviez/database/DatabaseImpl.kt similarity index 86% rename from database/impl/src/main/kotlin/net/marcoromano/tmdb/database/DatabaseImpl.kt rename to database/impl/src/main/kotlin/net/marcoromano/mooviez/database/DatabaseImpl.kt index cab3840b..cceefafa 100644 --- a/database/impl/src/main/kotlin/net/marcoromano/tmdb/database/DatabaseImpl.kt +++ b/database/impl/src/main/kotlin/net/marcoromano/mooviez/database/DatabaseImpl.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.database +package net.marcoromano.mooviez.database import android.content.Context import androidx.sqlite.db.SupportSQLiteDatabase @@ -8,7 +8,7 @@ public fun DatabaseImpl(context: Context): Database = Database( driver = AndroidSqliteDriver( schema = Database.Schema, context = context, - name = "net.marcoromano.tmdb.database", + name = "net.marcoromano.mooviez.database", callback = object : AndroidSqliteDriver.Callback(Database.Schema) { override fun onConfigure(db: SupportSQLiteDatabase) { super.onConfigure(db) diff --git a/database/impl/src/test/kotlin/net/marcoromano/tmdb/database/DatabaseImplTest.kt b/database/impl/src/test/kotlin/net/marcoromano/mooviez/database/DatabaseImplTest.kt similarity index 91% rename from database/impl/src/test/kotlin/net/marcoromano/tmdb/database/DatabaseImplTest.kt rename to database/impl/src/test/kotlin/net/marcoromano/mooviez/database/DatabaseImplTest.kt index 29223db9..440c6133 100644 --- a/database/impl/src/test/kotlin/net/marcoromano/tmdb/database/DatabaseImplTest.kt +++ b/database/impl/src/test/kotlin/net/marcoromano/mooviez/database/DatabaseImplTest.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.database +package net.marcoromano.mooviez.database import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.platform.app.InstrumentationRegistry diff --git a/database/public/build.gradle.kts b/database/public/build.gradle.kts index 1a4e4273..86fc92ce 100644 --- a/database/public/build.gradle.kts +++ b/database/public/build.gradle.kts @@ -5,7 +5,7 @@ plugins { sqldelight { database("Database") { - packageName = "net.marcoromano.tmdb.database" + packageName = "net.marcoromano.mooviez.database" schemaOutputDirectory = file("src/main/sqldelight/schema") } } diff --git a/database/public/src/main/sqldelight/net/marcoromano/tmdb/database/Movie.sq b/database/public/src/main/sqldelight/net/marcoromano/mooviez/database/Movie.sq similarity index 100% rename from database/public/src/main/sqldelight/net/marcoromano/tmdb/database/Movie.sq rename to database/public/src/main/sqldelight/net/marcoromano/mooviez/database/Movie.sq diff --git a/httpapi/fake-wiring/src/main/kotlin/net/marcoromano/tmdb/httpapi/HttpApiFakeModule.kt b/httpapi/fake-wiring/src/main/kotlin/net/marcoromano/mooviez/httpapi/HttpApiFakeModule.kt similarity index 88% rename from httpapi/fake-wiring/src/main/kotlin/net/marcoromano/tmdb/httpapi/HttpApiFakeModule.kt rename to httpapi/fake-wiring/src/main/kotlin/net/marcoromano/mooviez/httpapi/HttpApiFakeModule.kt index eeb50422..9a983dbc 100644 --- a/httpapi/fake-wiring/src/main/kotlin/net/marcoromano/tmdb/httpapi/HttpApiFakeModule.kt +++ b/httpapi/fake-wiring/src/main/kotlin/net/marcoromano/mooviez/httpapi/HttpApiFakeModule.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.httpapi +package net.marcoromano.mooviez.httpapi import dagger.Module import dagger.Provides diff --git a/httpapi/fake/src/main/kotlin/net/marcoromano/tmdb/httpapi/HttpApiFake.kt b/httpapi/fake/src/main/kotlin/net/marcoromano/mooviez/httpapi/HttpApiFake.kt similarity index 96% rename from httpapi/fake/src/main/kotlin/net/marcoromano/tmdb/httpapi/HttpApiFake.kt rename to httpapi/fake/src/main/kotlin/net/marcoromano/mooviez/httpapi/HttpApiFake.kt index 9f31596c..b419b854 100644 --- a/httpapi/fake/src/main/kotlin/net/marcoromano/tmdb/httpapi/HttpApiFake.kt +++ b/httpapi/fake/src/main/kotlin/net/marcoromano/mooviez/httpapi/HttpApiFake.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.httpapi +package net.marcoromano.mooviez.httpapi import com.squareup.moshi.Moshi import com.squareup.moshi.adapter diff --git a/httpapi/fake/src/test/kotlin/net/marcoromano/tmdb/httpapi/HttpApiFakeTest.kt b/httpapi/fake/src/test/kotlin/net/marcoromano/mooviez/httpapi/HttpApiFakeTest.kt similarity index 92% rename from httpapi/fake/src/test/kotlin/net/marcoromano/tmdb/httpapi/HttpApiFakeTest.kt rename to httpapi/fake/src/test/kotlin/net/marcoromano/mooviez/httpapi/HttpApiFakeTest.kt index 8cbdfeb2..05c4a3e2 100644 --- a/httpapi/fake/src/test/kotlin/net/marcoromano/tmdb/httpapi/HttpApiFakeTest.kt +++ b/httpapi/fake/src/test/kotlin/net/marcoromano/mooviez/httpapi/HttpApiFakeTest.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.httpapi +package net.marcoromano.mooviez.httpapi import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.test.runTest diff --git a/httpapi/impl-wiring/src/main/kotlin/net/marcoromano/tmdb/httpapi/HttpApiImplModule.kt b/httpapi/impl-wiring/src/main/kotlin/net/marcoromano/mooviez/httpapi/HttpApiImplModule.kt similarity index 93% rename from httpapi/impl-wiring/src/main/kotlin/net/marcoromano/tmdb/httpapi/HttpApiImplModule.kt rename to httpapi/impl-wiring/src/main/kotlin/net/marcoromano/mooviez/httpapi/HttpApiImplModule.kt index 852487e0..456b3253 100644 --- a/httpapi/impl-wiring/src/main/kotlin/net/marcoromano/tmdb/httpapi/HttpApiImplModule.kt +++ b/httpapi/impl-wiring/src/main/kotlin/net/marcoromano/mooviez/httpapi/HttpApiImplModule.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.httpapi +package net.marcoromano.mooviez.httpapi import dagger.Module import dagger.Provides diff --git a/httpapi/impl/src/main/kotlin/net/marcoromano/tmdb/httpapi/HttpApiImpl.kt b/httpapi/impl/src/main/kotlin/net/marcoromano/mooviez/httpapi/HttpApiImpl.kt similarity index 96% rename from httpapi/impl/src/main/kotlin/net/marcoromano/tmdb/httpapi/HttpApiImpl.kt rename to httpapi/impl/src/main/kotlin/net/marcoromano/mooviez/httpapi/HttpApiImpl.kt index 77bddf1a..629d247d 100644 --- a/httpapi/impl/src/main/kotlin/net/marcoromano/tmdb/httpapi/HttpApiImpl.kt +++ b/httpapi/impl/src/main/kotlin/net/marcoromano/mooviez/httpapi/HttpApiImpl.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.httpapi +package net.marcoromano.mooviez.httpapi import com.squareup.moshi.Moshi import com.squareup.moshi.adapters.Rfc3339DateJsonAdapter diff --git a/httpapi/impl/src/test/kotlin/net/marcoromano/tmdb/httpapi/HttpApiImplTest.kt b/httpapi/impl/src/test/kotlin/net/marcoromano/mooviez/httpapi/HttpApiImplTest.kt similarity index 98% rename from httpapi/impl/src/test/kotlin/net/marcoromano/tmdb/httpapi/HttpApiImplTest.kt rename to httpapi/impl/src/test/kotlin/net/marcoromano/mooviez/httpapi/HttpApiImplTest.kt index e90f6b49..1060efcc 100644 --- a/httpapi/impl/src/test/kotlin/net/marcoromano/tmdb/httpapi/HttpApiImplTest.kt +++ b/httpapi/impl/src/test/kotlin/net/marcoromano/mooviez/httpapi/HttpApiImplTest.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.httpapi +package net.marcoromano.mooviez.httpapi import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.test.runTest diff --git a/httpapi/public/src/main/kotlin/net/marcoromano/tmdb/httpapi/HttpApi.kt b/httpapi/public/src/main/kotlin/net/marcoromano/mooviez/httpapi/HttpApi.kt similarity index 92% rename from httpapi/public/src/main/kotlin/net/marcoromano/tmdb/httpapi/HttpApi.kt rename to httpapi/public/src/main/kotlin/net/marcoromano/mooviez/httpapi/HttpApi.kt index c0f1a804..3adc629d 100644 --- a/httpapi/public/src/main/kotlin/net/marcoromano/tmdb/httpapi/HttpApi.kt +++ b/httpapi/public/src/main/kotlin/net/marcoromano/mooviez/httpapi/HttpApi.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.httpapi +package net.marcoromano.mooviez.httpapi import retrofit2.http.GET import retrofit2.http.Path diff --git a/httpapi/public/src/main/kotlin/net/marcoromano/tmdb/httpapi/MediaType.kt b/httpapi/public/src/main/kotlin/net/marcoromano/mooviez/httpapi/MediaType.kt similarity index 81% rename from httpapi/public/src/main/kotlin/net/marcoromano/tmdb/httpapi/MediaType.kt rename to httpapi/public/src/main/kotlin/net/marcoromano/mooviez/httpapi/MediaType.kt index f3743c16..76d03e61 100644 --- a/httpapi/public/src/main/kotlin/net/marcoromano/tmdb/httpapi/MediaType.kt +++ b/httpapi/public/src/main/kotlin/net/marcoromano/mooviez/httpapi/MediaType.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.httpapi +package net.marcoromano.mooviez.httpapi public enum class MediaType(private val mediaType: String) { ALL("all"), diff --git a/httpapi/public/src/main/kotlin/net/marcoromano/tmdb/httpapi/Movie.kt b/httpapi/public/src/main/kotlin/net/marcoromano/mooviez/httpapi/Movie.kt similarity index 88% rename from httpapi/public/src/main/kotlin/net/marcoromano/tmdb/httpapi/Movie.kt rename to httpapi/public/src/main/kotlin/net/marcoromano/mooviez/httpapi/Movie.kt index 79e0c610..667758ac 100644 --- a/httpapi/public/src/main/kotlin/net/marcoromano/tmdb/httpapi/Movie.kt +++ b/httpapi/public/src/main/kotlin/net/marcoromano/mooviez/httpapi/Movie.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.httpapi +package net.marcoromano.mooviez.httpapi import com.squareup.moshi.JsonClass diff --git a/httpapi/public/src/main/kotlin/net/marcoromano/tmdb/httpapi/TimeWindow.kt b/httpapi/public/src/main/kotlin/net/marcoromano/mooviez/httpapi/TimeWindow.kt similarity index 78% rename from httpapi/public/src/main/kotlin/net/marcoromano/tmdb/httpapi/TimeWindow.kt rename to httpapi/public/src/main/kotlin/net/marcoromano/mooviez/httpapi/TimeWindow.kt index b8890f42..207f7782 100644 --- a/httpapi/public/src/main/kotlin/net/marcoromano/tmdb/httpapi/TimeWindow.kt +++ b/httpapi/public/src/main/kotlin/net/marcoromano/mooviez/httpapi/TimeWindow.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.httpapi +package net.marcoromano.mooviez.httpapi public enum class TimeWindow(private val timeWindow: String) { DAY("day"), diff --git a/httpapi/public/src/main/kotlin/net/marcoromano/tmdb/httpapi/TrendingMovies.kt b/httpapi/public/src/main/kotlin/net/marcoromano/mooviez/httpapi/TrendingMovies.kt similarity index 91% rename from httpapi/public/src/main/kotlin/net/marcoromano/tmdb/httpapi/TrendingMovies.kt rename to httpapi/public/src/main/kotlin/net/marcoromano/mooviez/httpapi/TrendingMovies.kt index e4fe0a22..e57c2b76 100644 --- a/httpapi/public/src/main/kotlin/net/marcoromano/tmdb/httpapi/TrendingMovies.kt +++ b/httpapi/public/src/main/kotlin/net/marcoromano/mooviez/httpapi/TrendingMovies.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.httpapi +package net.marcoromano.mooviez.httpapi import com.squareup.moshi.JsonClass diff --git a/movie/build.gradle.kts b/movie/build.gradle.kts index 8e654106..4809bcbc 100644 --- a/movie/build.gradle.kts +++ b/movie/build.gradle.kts @@ -3,7 +3,7 @@ plugins { } android { - namespace = "net.marcoromano.tmdb.movie" + namespace = "net.marcoromano.mooviez.movie" } dependencies { diff --git a/movie/src/androidTest/kotlin/net/marcoromano/tmdb/movie/FeatureScreenIntegrationTest.kt b/movie/src/androidTest/kotlin/net/marcoromano/mooviez/movie/FeatureScreenIntegrationTest.kt similarity index 95% rename from movie/src/androidTest/kotlin/net/marcoromano/tmdb/movie/FeatureScreenIntegrationTest.kt rename to movie/src/androidTest/kotlin/net/marcoromano/mooviez/movie/FeatureScreenIntegrationTest.kt index 5086696e..c9df6520 100644 --- a/movie/src/androidTest/kotlin/net/marcoromano/tmdb/movie/FeatureScreenIntegrationTest.kt +++ b/movie/src/androidTest/kotlin/net/marcoromano/mooviez/movie/FeatureScreenIntegrationTest.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.movie +package net.marcoromano.mooviez.movie import androidx.compose.ui.test.assertTextEquals import androidx.compose.ui.test.junit4.createComposeRule diff --git a/movie/src/androidTest/kotlin/net/marcoromano/tmdb/movie/FeatureScreenUnitTest.kt b/movie/src/androidTest/kotlin/net/marcoromano/mooviez/movie/FeatureScreenUnitTest.kt similarity index 96% rename from movie/src/androidTest/kotlin/net/marcoromano/tmdb/movie/FeatureScreenUnitTest.kt rename to movie/src/androidTest/kotlin/net/marcoromano/mooviez/movie/FeatureScreenUnitTest.kt index ea7a08ef..b19e38af 100644 --- a/movie/src/androidTest/kotlin/net/marcoromano/tmdb/movie/FeatureScreenUnitTest.kt +++ b/movie/src/androidTest/kotlin/net/marcoromano/mooviez/movie/FeatureScreenUnitTest.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.movie +package net.marcoromano.mooviez.movie import androidx.compose.ui.test.assertTextEquals import androidx.compose.ui.test.junit4.createComposeRule diff --git a/movie/src/main/kotlin/net/marcoromano/tmdb/movie/DemoMovie.kt b/movie/src/main/kotlin/net/marcoromano/mooviez/movie/DemoMovie.kt similarity index 88% rename from movie/src/main/kotlin/net/marcoromano/tmdb/movie/DemoMovie.kt rename to movie/src/main/kotlin/net/marcoromano/mooviez/movie/DemoMovie.kt index d0f67717..991ff1c3 100644 --- a/movie/src/main/kotlin/net/marcoromano/tmdb/movie/DemoMovie.kt +++ b/movie/src/main/kotlin/net/marcoromano/mooviez/movie/DemoMovie.kt @@ -1,6 +1,6 @@ -package net.marcoromano.tmdb.movie +package net.marcoromano.mooviez.movie -import net.marcoromano.tmdb.httpapi.Movie +import net.marcoromano.mooviez.httpapi.Movie internal fun demoMovie() = Movie( id = 261414, diff --git a/movie/src/main/kotlin/net/marcoromano/tmdb/movie/MovieNavigation.kt b/movie/src/main/kotlin/net/marcoromano/mooviez/movie/MovieNavigation.kt similarity index 95% rename from movie/src/main/kotlin/net/marcoromano/tmdb/movie/MovieNavigation.kt rename to movie/src/main/kotlin/net/marcoromano/mooviez/movie/MovieNavigation.kt index 5cec5d44..bb0dbeab 100644 --- a/movie/src/main/kotlin/net/marcoromano/tmdb/movie/MovieNavigation.kt +++ b/movie/src/main/kotlin/net/marcoromano/mooviez/movie/MovieNavigation.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.movie +package net.marcoromano.mooviez.movie import androidx.compose.animation.ExperimentalAnimationApi import androidx.navigation.NavController diff --git a/movie/src/main/kotlin/net/marcoromano/tmdb/movie/MovieScreen.kt b/movie/src/main/kotlin/net/marcoromano/mooviez/movie/MovieScreen.kt similarity index 97% rename from movie/src/main/kotlin/net/marcoromano/tmdb/movie/MovieScreen.kt rename to movie/src/main/kotlin/net/marcoromano/mooviez/movie/MovieScreen.kt index 9558ba48..5eecc861 100644 --- a/movie/src/main/kotlin/net/marcoromano/tmdb/movie/MovieScreen.kt +++ b/movie/src/main/kotlin/net/marcoromano/mooviez/movie/MovieScreen.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.movie +package net.marcoromano.mooviez.movie import android.content.res.Configuration import androidx.compose.foundation.layout.Box @@ -25,7 +25,7 @@ import androidx.compose.ui.res.stringResource import androidx.compose.ui.tooling.preview.Preview import androidx.hilt.navigation.compose.hiltViewModel import androidx.lifecycle.compose.collectAsStateWithLifecycle -import net.marcoromano.tmdb.movie.widgets.Movie +import net.marcoromano.mooviez.movie.widgets.Movie @Composable internal fun MovieScreen( diff --git a/movie/src/main/kotlin/net/marcoromano/tmdb/movie/MovieState.kt b/movie/src/main/kotlin/net/marcoromano/mooviez/movie/MovieState.kt similarity index 64% rename from movie/src/main/kotlin/net/marcoromano/tmdb/movie/MovieState.kt rename to movie/src/main/kotlin/net/marcoromano/mooviez/movie/MovieState.kt index 98f9a4d9..563d0a5b 100644 --- a/movie/src/main/kotlin/net/marcoromano/tmdb/movie/MovieState.kt +++ b/movie/src/main/kotlin/net/marcoromano/mooviez/movie/MovieState.kt @@ -1,6 +1,6 @@ -package net.marcoromano.tmdb.movie +package net.marcoromano.mooviez.movie -import net.marcoromano.tmdb.httpapi.Movie +import net.marcoromano.mooviez.httpapi.Movie internal data class MovieState( val isLoading: Boolean = false, diff --git a/movie/src/main/kotlin/net/marcoromano/tmdb/movie/MovieViewModel.kt b/movie/src/main/kotlin/net/marcoromano/mooviez/movie/MovieViewModel.kt similarity index 91% rename from movie/src/main/kotlin/net/marcoromano/tmdb/movie/MovieViewModel.kt rename to movie/src/main/kotlin/net/marcoromano/mooviez/movie/MovieViewModel.kt index a3f637c5..fdaea8a2 100644 --- a/movie/src/main/kotlin/net/marcoromano/tmdb/movie/MovieViewModel.kt +++ b/movie/src/main/kotlin/net/marcoromano/mooviez/movie/MovieViewModel.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.movie +package net.marcoromano.mooviez.movie import androidx.lifecycle.SavedStateHandle import androidx.lifecycle.ViewModel @@ -10,8 +10,8 @@ import kotlinx.coroutines.flow.combine import kotlinx.coroutines.flow.stateIn import kotlinx.coroutines.flow.update import kotlinx.coroutines.launch -import net.marcoromano.tmdb.httpapi.HttpApi -import net.marcoromano.tmdb.httpapi.Movie +import net.marcoromano.mooviez.httpapi.HttpApi +import net.marcoromano.mooviez.httpapi.Movie import java.util.UUID import javax.inject.Inject diff --git a/movie/src/main/kotlin/net/marcoromano/tmdb/movie/widgets/Movie.kt b/movie/src/main/kotlin/net/marcoromano/mooviez/movie/widgets/Movie.kt similarity index 95% rename from movie/src/main/kotlin/net/marcoromano/tmdb/movie/widgets/Movie.kt rename to movie/src/main/kotlin/net/marcoromano/mooviez/movie/widgets/Movie.kt index 2142255a..16c2fc15 100644 --- a/movie/src/main/kotlin/net/marcoromano/tmdb/movie/widgets/Movie.kt +++ b/movie/src/main/kotlin/net/marcoromano/mooviez/movie/widgets/Movie.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.movie.widgets +package net.marcoromano.mooviez.movie.widgets import android.graphics.Color import android.graphics.drawable.ColorDrawable @@ -24,8 +24,8 @@ import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.dp import coil.compose.rememberAsyncImagePainter import coil.request.ImageRequest -import net.marcoromano.tmdb.httpapi.Movie -import net.marcoromano.tmdb.movie.demoMovie +import net.marcoromano.mooviez.httpapi.Movie +import net.marcoromano.mooviez.movie.demoMovie @Composable internal fun Movie( diff --git a/trending/src/test/kotlin/net/marcoromano/tmdb/trending/MainCoroutineScopeRule.kt b/movie/src/test/kotlin/net/marcoromano/mooviez/movie/MainCoroutineScopeRule.kt similarity index 95% rename from trending/src/test/kotlin/net/marcoromano/tmdb/trending/MainCoroutineScopeRule.kt rename to movie/src/test/kotlin/net/marcoromano/mooviez/movie/MainCoroutineScopeRule.kt index cda7651c..8c8fdd35 100644 --- a/trending/src/test/kotlin/net/marcoromano/tmdb/trending/MainCoroutineScopeRule.kt +++ b/movie/src/test/kotlin/net/marcoromano/mooviez/movie/MainCoroutineScopeRule.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.trending +package net.marcoromano.mooviez.movie import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.ExperimentalCoroutinesApi diff --git a/settings.gradle.kts b/settings.gradle.kts index f29d73ef..d8e9e43a 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,6 +1,6 @@ enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") -rootProject.name = "tmdb" +rootProject.name = "mooviez" pluginManagement { repositories { diff --git a/trending/build.gradle.kts b/trending/build.gradle.kts index a912eb5c..c35a8789 100644 --- a/trending/build.gradle.kts +++ b/trending/build.gradle.kts @@ -3,7 +3,7 @@ plugins { } android { - namespace = "net.marcoromano.tmdb.trending" + namespace = "net.marcoromano.mooviez.trending" } dependencies { diff --git a/trending/src/androidTest/kotlin/net/marcoromano/skeleton/feature/FeatureScreenIntegrationTest.kt b/trending/src/androidTest/kotlin/net/marcoromano/skeleton/feature/FeatureScreenIntegrationTest.kt index c0b50c70..05e1ed79 100644 --- a/trending/src/androidTest/kotlin/net/marcoromano/skeleton/feature/FeatureScreenIntegrationTest.kt +++ b/trending/src/androidTest/kotlin/net/marcoromano/skeleton/feature/FeatureScreenIntegrationTest.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.trending +package net.marcoromano.mooviez.trending import androidx.compose.ui.test.assertTextEquals import androidx.compose.ui.test.junit4.createComposeRule diff --git a/trending/src/androidTest/kotlin/net/marcoromano/skeleton/feature/FeatureScreenUnitTest.kt b/trending/src/androidTest/kotlin/net/marcoromano/skeleton/feature/FeatureScreenUnitTest.kt index d6f42dd6..085aeb11 100644 --- a/trending/src/androidTest/kotlin/net/marcoromano/skeleton/feature/FeatureScreenUnitTest.kt +++ b/trending/src/androidTest/kotlin/net/marcoromano/skeleton/feature/FeatureScreenUnitTest.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.trending +package net.marcoromano.mooviez.trending import androidx.compose.ui.test.assertTextEquals import androidx.compose.ui.test.junit4.createComposeRule diff --git a/trending/src/main/kotlin/net/marcoromano/tmdb/trending/TrendingNavigation.kt b/trending/src/main/kotlin/net/marcoromano/mooviez/trending/TrendingNavigation.kt similarity index 94% rename from trending/src/main/kotlin/net/marcoromano/tmdb/trending/TrendingNavigation.kt rename to trending/src/main/kotlin/net/marcoromano/mooviez/trending/TrendingNavigation.kt index 6cee5354..e8d04542 100644 --- a/trending/src/main/kotlin/net/marcoromano/tmdb/trending/TrendingNavigation.kt +++ b/trending/src/main/kotlin/net/marcoromano/mooviez/trending/TrendingNavigation.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.trending +package net.marcoromano.mooviez.trending import androidx.compose.animation.ExperimentalAnimationApi import androidx.navigation.NavController diff --git a/trending/src/main/kotlin/net/marcoromano/tmdb/trending/TrendingScreen.kt b/trending/src/main/kotlin/net/marcoromano/mooviez/trending/TrendingScreen.kt similarity index 92% rename from trending/src/main/kotlin/net/marcoromano/tmdb/trending/TrendingScreen.kt rename to trending/src/main/kotlin/net/marcoromano/mooviez/trending/TrendingScreen.kt index 6308fa57..5f1031f4 100644 --- a/trending/src/main/kotlin/net/marcoromano/tmdb/trending/TrendingScreen.kt +++ b/trending/src/main/kotlin/net/marcoromano/mooviez/trending/TrendingScreen.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.trending +package net.marcoromano.mooviez.trending import android.content.res.Configuration import androidx.compose.foundation.layout.padding @@ -14,7 +14,7 @@ import androidx.compose.ui.input.nestedscroll.nestedScroll import androidx.compose.ui.res.stringResource import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.dp -import net.marcoromano.tmdb.trending.widgets.trending.TrendingLazyVerticalGrid +import net.marcoromano.mooviez.trending.widgets.trending.TrendingLazyVerticalGrid @OptIn(ExperimentalMaterial3Api::class) @Composable diff --git a/trending/src/main/kotlin/net/marcoromano/tmdb/trending/widgets/trending/TrendingLazyVerticalGrid.kt b/trending/src/main/kotlin/net/marcoromano/mooviez/trending/widgets/trending/TrendingLazyVerticalGrid.kt similarity index 98% rename from trending/src/main/kotlin/net/marcoromano/tmdb/trending/widgets/trending/TrendingLazyVerticalGrid.kt rename to trending/src/main/kotlin/net/marcoromano/mooviez/trending/widgets/trending/TrendingLazyVerticalGrid.kt index ce57f7f9..007613b0 100644 --- a/trending/src/main/kotlin/net/marcoromano/tmdb/trending/widgets/trending/TrendingLazyVerticalGrid.kt +++ b/trending/src/main/kotlin/net/marcoromano/mooviez/trending/widgets/trending/TrendingLazyVerticalGrid.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.trending.widgets.trending +package net.marcoromano.mooviez.trending.widgets.trending import android.graphics.Color import android.graphics.drawable.ColorDrawable @@ -38,7 +38,7 @@ import coil.compose.rememberAsyncImagePainter import coil.request.ImageRequest import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.flowOf -import net.marcoromano.tmdb.httpapi.TrendingMovies +import net.marcoromano.mooviez.httpapi.TrendingMovies @Composable internal fun TrendingLazyVerticalGrid( diff --git a/trending/src/main/kotlin/net/marcoromano/tmdb/trending/widgets/trending/TrendingLazyVerticalGridViewModel.kt b/trending/src/main/kotlin/net/marcoromano/mooviez/trending/widgets/trending/TrendingLazyVerticalGridViewModel.kt similarity index 89% rename from trending/src/main/kotlin/net/marcoromano/tmdb/trending/widgets/trending/TrendingLazyVerticalGridViewModel.kt rename to trending/src/main/kotlin/net/marcoromano/mooviez/trending/widgets/trending/TrendingLazyVerticalGridViewModel.kt index 658358b7..20649ef7 100644 --- a/trending/src/main/kotlin/net/marcoromano/tmdb/trending/widgets/trending/TrendingLazyVerticalGridViewModel.kt +++ b/trending/src/main/kotlin/net/marcoromano/mooviez/trending/widgets/trending/TrendingLazyVerticalGridViewModel.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.trending.widgets.trending +package net.marcoromano.mooviez.trending.widgets.trending import androidx.lifecycle.ViewModel import androidx.paging.Pager @@ -6,8 +6,8 @@ import androidx.paging.PagingConfig import androidx.paging.PagingSource import androidx.paging.PagingState import dagger.hilt.android.lifecycle.HiltViewModel -import net.marcoromano.tmdb.httpapi.HttpApi -import net.marcoromano.tmdb.httpapi.TrendingMovies +import net.marcoromano.mooviez.httpapi.HttpApi +import net.marcoromano.mooviez.httpapi.TrendingMovies import javax.inject.Inject @HiltViewModel diff --git a/movie/src/test/kotlin/net/marcoromano/tmdb/movie/MainCoroutineScopeRule.kt b/trending/src/test/kotlin/net/marcoromano/mooviez/trending/MainCoroutineScopeRule.kt similarity index 94% rename from movie/src/test/kotlin/net/marcoromano/tmdb/movie/MainCoroutineScopeRule.kt rename to trending/src/test/kotlin/net/marcoromano/mooviez/trending/MainCoroutineScopeRule.kt index 45925de2..93102d5d 100644 --- a/movie/src/test/kotlin/net/marcoromano/tmdb/movie/MainCoroutineScopeRule.kt +++ b/trending/src/test/kotlin/net/marcoromano/mooviez/trending/MainCoroutineScopeRule.kt @@ -1,4 +1,4 @@ -package net.marcoromano.tmdb.movie +package net.marcoromano.mooviez.trending import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.ExperimentalCoroutinesApi