From 349e5488fa8db911111667a4195a9baaabfe441c Mon Sep 17 00:00:00 2001 From: Pete Gautier Date: Mon, 5 Feb 2024 09:34:45 -0800 Subject: [PATCH] fixed namespaces --- app/build.gradle.kts | 4 ++-- .../momento/kotlin}/moderatedchat/ExampleInstrumentedTest.kt | 2 +- .../momento/kotlin}/moderatedchat/MainActivity.kt | 4 ++-- .../momento/kotlin}/moderatedchat/ui/theme/Color.kt | 2 +- .../momento/kotlin}/moderatedchat/ui/theme/Theme.kt | 2 +- .../momento/kotlin}/moderatedchat/ui/theme/Type.kt | 2 +- .../momento/kotlin}/moderatedchat/ExampleUnitTest.kt | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) rename app/src/androidTest/java/{com/example => software/momento/kotlin}/moderatedchat/ExampleInstrumentedTest.kt (93%) rename app/src/main/java/{com/example => software/momento/kotlin}/moderatedchat/MainActivity.kt (99%) rename app/src/main/java/{com/example => software/momento/kotlin}/moderatedchat/ui/theme/Color.kt (98%) rename app/src/main/java/{com/example => software/momento/kotlin}/moderatedchat/ui/theme/Theme.kt (98%) rename app/src/main/java/{com/example => software/momento/kotlin}/moderatedchat/ui/theme/Type.kt (94%) rename app/src/test/java/{com/example => software/momento/kotlin}/moderatedchat/ExampleUnitTest.kt (87%) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 4fe02ff..89cf886 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -4,11 +4,11 @@ plugins { } android { - namespace = "com.example.moderatedchat" + namespace = "software.momento.kotlin.moderatedchat" compileSdk = 34 defaultConfig { - applicationId = "com.example.moderatedchat" + applicationId = "software.momento.kotlin.moderatedchat" minSdk = 26 targetSdk = 34 versionCode = 1 diff --git a/app/src/androidTest/java/com/example/moderatedchat/ExampleInstrumentedTest.kt b/app/src/androidTest/java/software/momento/kotlin/moderatedchat/ExampleInstrumentedTest.kt similarity index 93% rename from app/src/androidTest/java/com/example/moderatedchat/ExampleInstrumentedTest.kt rename to app/src/androidTest/java/software/momento/kotlin/moderatedchat/ExampleInstrumentedTest.kt index 0fd26b9..cd843e7 100644 --- a/app/src/androidTest/java/com/example/moderatedchat/ExampleInstrumentedTest.kt +++ b/app/src/androidTest/java/software/momento/kotlin/moderatedchat/ExampleInstrumentedTest.kt @@ -1,4 +1,4 @@ -package com.example.moderatedchat +package software.momento.kotlin.moderatedchat import androidx.test.platform.app.InstrumentationRegistry import androidx.test.ext.junit.runners.AndroidJUnit4 diff --git a/app/src/main/java/com/example/moderatedchat/MainActivity.kt b/app/src/main/java/software/momento/kotlin/moderatedchat/MainActivity.kt similarity index 99% rename from app/src/main/java/com/example/moderatedchat/MainActivity.kt rename to app/src/main/java/software/momento/kotlin/moderatedchat/MainActivity.kt index c73c386..417890e 100644 --- a/app/src/main/java/com/example/moderatedchat/MainActivity.kt +++ b/app/src/main/java/software/momento/kotlin/moderatedchat/MainActivity.kt @@ -1,4 +1,4 @@ -package com.example.moderatedchat +package software.momento.kotlin.moderatedchat import android.content.pm.ActivityInfo import android.net.Uri @@ -50,7 +50,6 @@ import androidx.compose.ui.text.input.KeyboardType import androidx.compose.ui.unit.dp import coil.compose.AsyncImage import coil.request.ImageRequest -import com.example.moderatedchat.ui.theme.ModeratedChatTheme import com.google.gson.Gson import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.Job @@ -61,6 +60,7 @@ import kotlinx.coroutines.launch import kotlinx.coroutines.withContext import kotlinx.coroutines.yield import org.json.JSONObject +import software.momento.kotlin.moderatedchat.ui.theme.ModeratedChatTheme import software.momento.kotlin.sdk.CacheClient import software.momento.kotlin.sdk.TopicClient import software.momento.kotlin.sdk.auth.CredentialProvider diff --git a/app/src/main/java/com/example/moderatedchat/ui/theme/Color.kt b/app/src/main/java/software/momento/kotlin/moderatedchat/ui/theme/Color.kt similarity index 98% rename from app/src/main/java/com/example/moderatedchat/ui/theme/Color.kt rename to app/src/main/java/software/momento/kotlin/moderatedchat/ui/theme/Color.kt index c6a3467..40b1abf 100644 --- a/app/src/main/java/com/example/moderatedchat/ui/theme/Color.kt +++ b/app/src/main/java/software/momento/kotlin/moderatedchat/ui/theme/Color.kt @@ -1,4 +1,4 @@ -package com.example.moderatedchat.ui.theme +package software.momento.kotlin.moderatedchat.ui.theme import androidx.compose.ui.graphics.Color val md_theme_light_primary = Color(0xFF006C4A) diff --git a/app/src/main/java/com/example/moderatedchat/ui/theme/Theme.kt b/app/src/main/java/software/momento/kotlin/moderatedchat/ui/theme/Theme.kt similarity index 98% rename from app/src/main/java/com/example/moderatedchat/ui/theme/Theme.kt rename to app/src/main/java/software/momento/kotlin/moderatedchat/ui/theme/Theme.kt index f7f6524..5d8a02c 100644 --- a/app/src/main/java/com/example/moderatedchat/ui/theme/Theme.kt +++ b/app/src/main/java/software/momento/kotlin/moderatedchat/ui/theme/Theme.kt @@ -1,4 +1,4 @@ -package com.example.moderatedchat.ui.theme +package software.momento.kotlin.moderatedchat.ui.theme import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.material3.MaterialTheme diff --git a/app/src/main/java/com/example/moderatedchat/ui/theme/Type.kt b/app/src/main/java/software/momento/kotlin/moderatedchat/ui/theme/Type.kt similarity index 94% rename from app/src/main/java/com/example/moderatedchat/ui/theme/Type.kt rename to app/src/main/java/software/momento/kotlin/moderatedchat/ui/theme/Type.kt index b4cf38c..fc03b24 100644 --- a/app/src/main/java/com/example/moderatedchat/ui/theme/Type.kt +++ b/app/src/main/java/software/momento/kotlin/moderatedchat/ui/theme/Type.kt @@ -1,4 +1,4 @@ -package com.example.moderatedchat.ui.theme +package software.momento.kotlin.moderatedchat.ui.theme import androidx.compose.material3.Typography import androidx.compose.ui.text.TextStyle diff --git a/app/src/test/java/com/example/moderatedchat/ExampleUnitTest.kt b/app/src/test/java/software/momento/kotlin/moderatedchat/ExampleUnitTest.kt similarity index 87% rename from app/src/test/java/com/example/moderatedchat/ExampleUnitTest.kt rename to app/src/test/java/software/momento/kotlin/moderatedchat/ExampleUnitTest.kt index 4ba313a..4751557 100644 --- a/app/src/test/java/com/example/moderatedchat/ExampleUnitTest.kt +++ b/app/src/test/java/software/momento/kotlin/moderatedchat/ExampleUnitTest.kt @@ -1,4 +1,4 @@ -package com.example.moderatedchat +package software.momento.kotlin.moderatedchat import org.junit.Test