Merge "Add minSdkVersion in AndroidManifest for SpaLib & Gallery."
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
buildscript {
|
||||
ext {
|
||||
spa_min_sdk = 21
|
||||
spa_target_sdk = 33
|
||||
jetpack_compose_version = '1.2.0-alpha04'
|
||||
jetpack_compose_compiler_version = '1.3.2'
|
||||
jetpack_compose_material3_version = '1.0.0-alpha06'
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.settingslib.spa.gallery">
|
||||
|
||||
<uses-sdk android:minSdkVersion="21"/>
|
||||
|
||||
<application
|
||||
android:name=".GalleryApplication"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
|
||||
@@ -21,12 +21,12 @@ plugins {
|
||||
|
||||
android {
|
||||
namespace 'com.android.settingslib.spa.gallery'
|
||||
compileSdk 33
|
||||
compileSdk spa_target_sdk
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.android.settingslib.spa.gallery"
|
||||
minSdk spa_min_sdk
|
||||
targetSdk 33
|
||||
targetSdk spa_target_sdk
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
}
|
||||
|
||||
@@ -14,4 +14,7 @@
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<manifest package="com.android.settingslib.spa" />
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.settingslib.spa">
|
||||
<uses-sdk android:minSdkVersion="21"/>
|
||||
</manifest>
|
||||
|
||||
@@ -21,11 +21,11 @@ plugins {
|
||||
|
||||
android {
|
||||
namespace 'com.android.settingslib.spa'
|
||||
compileSdk 33
|
||||
compileSdk spa_target_sdk
|
||||
|
||||
defaultConfig {
|
||||
minSdk spa_min_sdk
|
||||
targetSdk 33
|
||||
targetSdk spa_target_sdk
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -34,4 +34,5 @@ android_test {
|
||||
"truth-prebuilt",
|
||||
],
|
||||
kotlincflags: ["-Xjvm-default=all"],
|
||||
min_sdk_version: "31",
|
||||
}
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.settingslib.spa.tests">
|
||||
|
||||
<uses-sdk android:minSdkVersion="21"/>
|
||||
|
||||
<application>
|
||||
<uses-library android:name="android.test.runner" />
|
||||
</application>
|
||||
|
||||
@@ -21,11 +21,11 @@ plugins {
|
||||
|
||||
android {
|
||||
namespace 'com.android.settingslib.spa.tests'
|
||||
compileSdk 33
|
||||
compileSdk spa_target_sdk
|
||||
|
||||
defaultConfig {
|
||||
minSdk spa_min_sdk
|
||||
targetSdk 33
|
||||
targetSdk spa_target_sdk
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user