Skip to content

A fully functional Android app built entirely with Kotlin and Jetpack Compose

Replace deprecated package with namespace

Simon Marquis544fbe0a59ef
diff --git a/ui-test-hilt-manifest/build.gradle.kts b/ui-test-hilt-manifest/build.gradle.kts
index 1850f82c2..346399d59 100644
--- a/ui-test-hilt-manifest/build.gradle.kts
+++ b/ui-test-hilt-manifest/build.gradle.kts
@@ -19,6 +19,10 @@ plugins {
id("dagger.hilt.android.plugin")
}
+android {
+ namespace = "com.google.samples.apps.nowinandroid.uitesthiltmanifest"
+}
+
dependencies {
implementation(libs.hilt.android)
kapt(libs.hilt.compiler)
diff --git a/ui-test-hilt-manifest/src/main/AndroidManifest.xml b/ui-test-hilt-manifest/src/main/AndroidManifest.xml
index 4b97b92be..8fbb1c299 100644
--- a/ui-test-hilt-manifest/src/main/AndroidManifest.xml
+++ b/ui-test-hilt-manifest/src/main/AndroidManifest.xml
@@ -14,8 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.google.samples.apps.nowinandroid.uitesthiltmanifest">
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application>
<activity android:name=".HiltComponentActivity" />