Skip to content

Commit 97e1af3

Browse files
MAJigsaw77player-03
authored andcommitted
Use namespace for gradle projects to fix deprecation warnings.
1 parent 4793649 commit 97e1af3

File tree

6 files changed

+6
-9
lines changed

6 files changed

+6
-9
lines changed

dependencies/extension-api/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ buildscript {
1212
apply plugin: 'com.android.library'
1313

1414
android {
15+
namespace 'org.haxe.extension'
1516
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
1617
buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
1718

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.haxe.extension" >
3-
4-
</manifest>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" />

templates/android/template/app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ System.setProperty('java.awt.headless','false')
1313
} */
1414

1515
android {
16+
namespace "::APP_PACKAGE::"
1617
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
1718
buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
1819
::if (ANDROID_GRADLE_PLUGIN>="4.0")::ndkPath '::ANDROID_NDK_ROOT_ESCAPED::'::end::

templates/android/template/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="::APP_PACKAGE::" android:versionCode="::APP_BUILD_NUMBER::" android:versionName="::APP_VERSION::" android:installLocation="::ANDROID_INSTALL_LOCATION::">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="::APP_BUILD_NUMBER::" android:versionName="::APP_VERSION::" android:installLocation="::ANDROID_INSTALL_LOCATION::">
33

44
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
55
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />

templates/extension/dependencies/android/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ buildscript {
1212
apply plugin: 'com.android.library'
1313

1414
android {
15+
namespace "org.haxe.extension.::extensionLowerCase::"
1516
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
1617
buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
1718
}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.haxe.extension.::extensionLowerCase::" >
3-
4-
5-
6-
</manifest>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.haxe.extension.::extensionLowerCase::" />

0 commit comments

Comments
 (0)