diff --git a/app/build.gradle.kts b/app/build.gradle.kts index e232f31..d9ad3e3 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -70,6 +70,26 @@ android { proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") } } + + flavorDimensions += "sepCategory" + + productFlavors { + create("sepBasic") { + dimension = "sepCategory" + } + create("sepLite") { + dimension = "sepCategory" + } + } + + sourceSets { + named("sepBasic") { + manifest.srcFile("config/AndroidManifest_SEPBasic.xml") + } + named("sepLite") { + manifest.srcFile("config/AndroidManifest_SEPLite.xml") + } + } } configurations.all { diff --git a/app/config/AndroidManifest_SEPBasic.xml b/app/config/AndroidManifest_SEPBasic.xml new file mode 100644 index 0000000..7a8af10 --- /dev/null +++ b/app/config/AndroidManifest_SEPBasic.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/config/AndroidManifest_SEPLite.xml b/app/config/AndroidManifest_SEPLite.xml new file mode 100644 index 0000000..d9c34d7 --- /dev/null +++ b/app/config/AndroidManifest_SEPLite.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 7a8af10..3f3a22c 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -8,10 +8,6 @@ android:supportsRtl="true" android:theme="@style/Theme.KnoxPatch"> - -