Skip to content

Commit 883f77a

Browse files
bcorsoDagger Team
authored andcommitted
Remove package name from manifests.
This value is now ignored. Removing it avoids warnings like: ``` > Task :deep-android-lib:processDebugManifest package="dagger.hilt.android.simple.deep" found in source AndroidManifest.xml: /javatests/artifacts/hilt-android/simple/deep-android-lib/src/main/AndroidManifest.xml. Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored. Recommendation: remove package="dagger.hilt.android.simple.deep" from the source AndroidManifest.xml: /javatests/artifacts/hilt-android/simple/deep-android-lib/src/main/AndroidManifest.xml. ``` RELNOTES=N/A PiperOrigin-RevId: 828640393
1 parent a203170 commit 883f77a

File tree

16 files changed

+16
-42
lines changed

16 files changed

+16
-42
lines changed

javatests/artifacts/dagger-android-ksp/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
~ limitations under the License.
1515
-->
1616
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
17-
package="dagger.android.ksp">
17+
>
1818

1919
<application
2020
android:name=".SimpleApplication"

javatests/artifacts/dagger-android/simple/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
~ See the License for the specific language governing permissions and
1414
~ limitations under the License.
1515
-->
16-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
17-
package="dagger.android.simple">
18-
16+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
1917
<application
2018
android:name=".SimpleApplication"
2119
android:label="@string/appName"

javatests/artifacts/dagger/lazyclasskey/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
~ See the License for the specific language governing permissions and
1515
~ limitations under the License.
1616
-->
17-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18-
package="dagger.lazyclasskey">
19-
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="34"/>
17+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2018
<application
2119
android:theme="@style/Theme.AppCompat.Light.NoActionBar"
2220
android:taskAffinity=""

javatests/artifacts/hilt-android/lazyclasskey/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
~ See the License for the specific language governing permissions and
1515
~ limitations under the License.
1616
-->
17-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18-
package="hilt.lazyclasskey">
19-
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="34"/>
17+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2018
<application android:name=".FlowerApp"
2119
android:taskAffinity=""
2220
android:theme="@style/Theme.AppCompat.Light.NoActionBar"

javatests/artifacts/hilt-android/pluginMarker/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@
1313
~ See the License for the specific language governing permissions and
1414
~ limitations under the License.
1515
-->
16-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
17-
package="dagger.hilt.android.simple">
16+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
1817
</manifest>

javatests/artifacts/hilt-android/simple/app-java-only/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
~ See the License for the specific language governing permissions and
1414
~ limitations under the License.
1515
-->
16-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
17-
package="dagger.hilt.android.simple">
16+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
1817

1918
<application
2019
android:name=".SimpleApplication"

javatests/artifacts/hilt-android/simple/app/src/debug/AndroidManifest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
~ See the License for the specific language governing permissions and
1414
~ limitations under the License.
1515
-->
16-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
17-
package="dagger.hilt.android.simple">
18-
16+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
1917
<application>
2018
<activity
2119
android:name=".AliasOfMultipleScopesTest$TestActivity"

javatests/artifacts/hilt-android/simple/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
~ limitations under the License.
1515
-->
1616
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
17-
xmlns:tools="http://schemas.android.com/tools"
18-
package="dagger.hilt.android.simple">
17+
xmlns:tools="http://schemas.android.com/tools">
1918

2019
<application android:name=".SimpleApplication" android:label="@string/appName">
2120
<activity

javatests/artifacts/hilt-android/simple/deep-android-lib/src/main/AndroidManifest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,5 @@
1515
~ limitations under the License.
1616
-->
1717

18-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19-
package="dagger.hilt.android.simple.deep">
20-
18+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2119
</manifest>

javatests/artifacts/hilt-android/simple/earlyentrypoint/src/main/AndroidManifest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,5 @@
1515
~ limitations under the License.
1616
-->
1717

18-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19-
package="dagger.hilt.android.simple.earlyentrypoint">
20-
18+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2119
</manifest>

0 commit comments

Comments
 (0)