Skip to content

Commit

Permalink
Move package from manifest to namespace (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
alorma authored Dec 4, 2022
1 parent 939ce90 commit 1a38cd6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
1 change: 1 addition & 0 deletions barista-compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ android {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}
namespace = "com.adevinta.android.barista.compose"
}

dependencies {
Expand Down
4 changes: 1 addition & 3 deletions barista-compose/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.adevinta.android.barista.compose"
>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

</manifest>
1 change: 1 addition & 0 deletions barista/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ android {
targetSdk = 33
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
namespace = "com.adevinta.android.barista"

lintOptions {
disable.add("InvalidPackage")
Expand Down
4 changes: 1 addition & 3 deletions barista/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:tools="http://schemas.android.com/tools"
package="com.adevinta.android.barista"
>
xmlns:tools="http://schemas.android.com/tools">

<uses-sdk tools:overrideLibrary="android.support.test.uiautomator.v18"/>
</manifest>
1 change: 1 addition & 0 deletions sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ android {
testOptions {
execution = "ANDROIDX_TEST_ORCHESTRATOR"
}
namespace = "com.adevinta.android.barista.sample"
}

dependencies {
Expand Down
4 changes: 1 addition & 3 deletions sample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.adevinta.android.barista.sample"
>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.READ_CONTACTS"/>
<uses-permission android:name="android.permission.CAMERA"/>
Expand Down

0 comments on commit 1a38cd6

Please sign in to comment.