Skip to content

Commit

Permalink
Migrate from manifest to build script module namespace (#2380)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodbx committed May 26, 2023
1 parent 5e82445 commit e9f2e5e
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 8 deletions.
2 changes: 2 additions & 0 deletions picasso-compose/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ apply plugin: 'org.jetbrains.kotlin.android'
apply plugin: 'com.vanniktech.maven.publish'

android {
namespace 'com.squareup.picasso3.compose'

compileSdkVersion versions.compileSdk

defaultConfig {
Expand Down
1 change: 0 additions & 1 deletion picasso-compose/src/main/AndroidManifest.xml

This file was deleted.

2 changes: 2 additions & 0 deletions picasso-pollexor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ apply plugin: 'org.jetbrains.kotlin.android'
apply plugin: 'com.vanniktech.maven.publish'

android {
namespace 'com.squareup.picasso3.pollexor'

compileSdkVersion versions.compileSdk

defaultConfig {
Expand Down
1 change: 0 additions & 1 deletion picasso-pollexor/src/main/AndroidManifest.xml

This file was deleted.

2 changes: 2 additions & 0 deletions picasso-sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ apply plugin: 'com.android.application'
apply plugin: 'org.jetbrains.kotlin.android'

android {
namespace 'com.example.picasso'

compileSdkVersion versions.compileSdk

defaultConfig {
Expand Down
3 changes: 1 addition & 2 deletions picasso-sample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.example.picasso">
xmlns:tools="http://schemas.android.com/tools">

<!-- This is required for Picasso to work. -->
<uses-permission android:name="android.permission.INTERNET"/>
Expand Down
2 changes: 2 additions & 0 deletions picasso-stats/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ apply plugin: 'org.jetbrains.kotlin.android'
apply plugin: 'com.vanniktech.maven.publish'

android {
namespace 'com.squareup.picasso3.stats'

compileSdkVersion versions.compileSdk

defaultConfig {
Expand Down
1 change: 0 additions & 1 deletion picasso-stats/src/main/AndroidManifest.xml

This file was deleted.

2 changes: 2 additions & 0 deletions picasso/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ apply plugin: 'org.jetbrains.kotlin.android'
apply plugin: 'com.vanniktech.maven.publish'

android {
namespace 'com.squareup.picasso3'

compileSdkVersion versions.compileSdk

defaultConfig {
Expand Down
3 changes: 1 addition & 2 deletions picasso/src/androidTest/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.squareup.picasso3">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

Expand Down
1 change: 0 additions & 1 deletion picasso/src/main/AndroidManifest.xml

This file was deleted.

0 comments on commit e9f2e5e

Please sign in to comment.