From 5e10c9865d86dd6c482353d4524ccc8b11a707bc Mon Sep 17 00:00:00 2001 From: septs Date: Tue, 3 Dec 2024 13:47:50 +0800 Subject: [PATCH 1/2] feat: priv stub app --- .idea/deploymentTargetSelector.xml | 3 +++ app-stub/.gitignore | 1 + app-stub/build.gradle.kts | 29 +++++++++++++++++++++++++++ app-stub/src/main/AndroidManifest.xml | 8 ++++++++ settings.gradle.kts | 1 + 5 files changed, 42 insertions(+) create mode 100644 app-stub/.gitignore create mode 100644 app-stub/build.gradle.kts create mode 100644 app-stub/src/main/AndroidManifest.xml diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml index 8096d6c..8717154 100644 --- a/.idea/deploymentTargetSelector.xml +++ b/.idea/deploymentTargetSelector.xml @@ -8,6 +8,9 @@ + + \ No newline at end of file diff --git a/app-stub/.gitignore b/app-stub/.gitignore new file mode 100644 index 0000000..42afabf --- /dev/null +++ b/app-stub/.gitignore @@ -0,0 +1 @@ +/build \ No newline at end of file diff --git a/app-stub/build.gradle.kts b/app-stub/build.gradle.kts new file mode 100644 index 0000000..d8dc8d9 --- /dev/null +++ b/app-stub/build.gradle.kts @@ -0,0 +1,29 @@ +import im.angry.openeuicc.build.* + +plugins { + id("com.android.application") +} + +apply { + plugin() +} + +android { + namespace = "im.angry.openeuicc" + compileSdk = 35 + + defaultConfig { + applicationId = "im.angry.openeuicc" + minSdk = 30 + targetSdk = 35 + versionCode = 1 + } + + buildTypes { + all { + isDebuggable = false + isMinifyEnabled = true + isShrinkResources = true + } + } +} diff --git a/app-stub/src/main/AndroidManifest.xml b/app-stub/src/main/AndroidManifest.xml new file mode 100644 index 0000000..2d4c547 --- /dev/null +++ b/app-stub/src/main/AndroidManifest.xml @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts index 1aaf889..359548b 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -31,3 +31,4 @@ include(":libs:lpac-jni") include(":app-common") include(":app-unpriv") include(":app-deps") +include(":app-stub") -- 2.45.3 From 75fbfe3713e48f143ed3760d6400915f02c2afea Mon Sep 17 00:00:00 2001 From: septs Date: Tue, 3 Dec 2024 15:41:25 +0800 Subject: [PATCH 2/2] chore: add app name --- app-stub/src/main/AndroidManifest.xml | 2 ++ app-stub/src/main/res/values/strings.xml | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 app-stub/src/main/res/values/strings.xml diff --git a/app-stub/src/main/AndroidManifest.xml b/app-stub/src/main/AndroidManifest.xml index 2d4c547..c9c493d 100644 --- a/app-stub/src/main/AndroidManifest.xml +++ b/app-stub/src/main/AndroidManifest.xml @@ -4,5 +4,7 @@ + \ No newline at end of file diff --git a/app-stub/src/main/res/values/strings.xml b/app-stub/src/main/res/values/strings.xml new file mode 100644 index 0000000..60ef1da --- /dev/null +++ b/app-stub/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ + + OpenEUICC + \ No newline at end of file -- 2.45.3