Migrate namespaces in gradle files

This commit is contained in:
Nicolas Pomepuy 2022-05-24 15:00:30 +02:00
parent 5cea3db182
commit 5ab549d09f
21 changed files with 20 additions and 22 deletions

View File

@ -118,6 +118,7 @@ android {
abortOnError false
disable 'MissingTranslation', 'ExtraTranslation'
}
namespace 'org.videolan.mobile.app'
// make per-variant version code
applicationVariants.all { variant ->
//Custom APK name and versionCode

View File

@ -22,9 +22,7 @@
~
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="org.videolan.mobile.app">
<manifest xmlns:tools="http://schemas.android.com/tools">
<uses-sdk tools:overrideLibrary="android_libs.ub_uiautomator, tools.fastlane.screengrab" />
</manifest>

View File

@ -1,7 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="org.videolan.mobile.app"
android:installLocation="auto">
android:installLocation="auto">
<application
android:name=".VLCApplication"

View File

@ -61,6 +61,7 @@ android {
matchingFallbacks = ['debug']
}
}
namespace 'org.videolan.vlc.donations'
}
static def getPublicApiKey(project) {

View File

@ -22,8 +22,7 @@
~
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.videolan.vlc.donations">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="com.android.vending.BILLING" />
<application/>

View File

@ -41,6 +41,7 @@ android {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
namespace 'org.videolan.liveplotgraph'
}

View File

@ -22,5 +22,4 @@
~
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.videolan.liveplotgraph" />
<manifest />

View File

@ -54,6 +54,7 @@ android {
matchingFallbacks = ['debug']
}
}
namespace 'org.videolan.vlc.mediadb'
}

View File

@ -22,5 +22,4 @@
~
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.videolan.vlc.mediadb" />
<manifest />

View File

@ -41,6 +41,7 @@ android {
matchingFallbacks = ['debug']
}
}
namespace 'org.videolan.moviepedia'
}

View File

@ -1,5 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.videolan.moviepedia" >
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application>
<activity
android:name="org.videolan.moviepedia.ui.MediaScrapingActivity"

View File

@ -41,6 +41,7 @@ android {
sourceSets.dev {
res.srcDirs = ['flavors/debug/res']
}
namespace 'org.videolan.resources'
}
dependencies {

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
package="org.videolan.resources" >
<manifest>
</manifest>

View File

@ -34,6 +34,7 @@ android {
matchingFallbacks = ['debug']
}
}
namespace 'org.videolan.television'
}

View File

@ -1,6 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="org.videolan.television">
xmlns:tools="http://schemas.android.com/tools">
<application>
<activity
android:name="org.videolan.television.ui.MainTvActivity"

View File

@ -20,6 +20,7 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
namespace 'videolan.org.commontools'
}
dependencies {

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="videolan.org.commontools"
xmlns:tools="http://schemas.android.com/tools">
<manifest xmlns:tools="http://schemas.android.com/tools">
<uses-sdk
tools:overrideLibrary="android.support.media.tv,androidx.tvprovider" />

View File

@ -110,6 +110,7 @@ android {
assets.srcDirs = ['flavors/debug/assets']
assets.srcDirs += files("$projectDir/assets/schemas".toString())
}
namespace 'org.videolan.vlc'
}
def generateTranslation() {

View File

@ -1,7 +1,6 @@
<?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="org.videolan.vlc"
android:installLocation="auto">
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

View File

@ -45,6 +45,7 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
namespace 'org.videolan.vlc.plugin.api'
}
dependencies {

View File

@ -21,8 +21,7 @@
~ ***************************************************************************
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.videolan.vlc.plugin.api">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:supportsRtl="true">