Prima implementazione dello script per le multibuild
This commit is contained in:
1
dynamic__base/.gitignore
vendored
Normal file
1
dynamic__base/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/build
|
||||
23
dynamic__base/build.gradle
Normal file
23
dynamic__base/build.gradle
Normal file
@@ -0,0 +1,23 @@
|
||||
apply plugin: 'com.android.dynamic-feature'
|
||||
|
||||
android {
|
||||
compileSdkVersion 28
|
||||
|
||||
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 28
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
implementation project(':app')
|
||||
}
|
||||
12
dynamic__base/src/main/AndroidManifest.xml
Normal file
12
dynamic__base/src/main/AndroidManifest.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:dist="http://schemas.android.com/apk/distribution"
|
||||
package="it.integry.wms.dynamic__base">
|
||||
|
||||
<dist:module
|
||||
dist:instant="false"
|
||||
dist:onDemand="true"
|
||||
dist:title="@string/title_dynamic__base">
|
||||
<dist:fusing dist:include="true" />
|
||||
</dist:module>
|
||||
</manifest>
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
package it.integry.wms.dynamic_customization;
|
||||
|
||||
import android.util.Log;
|
||||
|
||||
import it.integry.integrywmsnative.core.class_router.BaseRouter;
|
||||
import it.integry.integrywmsnative.core.class_router.MethodDTO;
|
||||
import it.integry.integrywmsnative.core.class_router.exceptions.MethodPathAlreadyDeclaredException;
|
||||
|
||||
public class DynamicContext {
|
||||
|
||||
public static void init() {
|
||||
Log.d("DynamicContext", "Caricamento personalizzazioni per Azienda BASE");
|
||||
|
||||
// try {
|
||||
//BaseRouter.registerPath("testToast", MethodDTO.fromName(OrdineVendita.class, "testMe"));
|
||||
|
||||
// } catch (MethodPathAlreadyDeclaredException ex) {
|
||||
//
|
||||
// }
|
||||
|
||||
Log.d("DynamicContext", "Caricamento personalizzazioni per Azienda BASE COMPLETATO");
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user