| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- apply plugin: 'com.android.application'
- android {
- compileSdk = 36
- // splits {
- // abi {
- // enable true
- // reset()
- // include 'armeabi-v7a'
- // universalApk true
- // }
- // }
- defaultConfig {
- applicationId "com.usai.ratradefiling"
- minSdk = 28
- targetSdk = 36
- versionCode 7
- versionName "1.18"
- ndk {
- // 只保留 ARM 架构
- // arm64-v8a: 适配所有新手机 + 你的 M4 模拟器 (这是主力)
- // armeabi-v7a: 适配 2017 年以前的老旧手机 (为了兼容性建议保留)
- // x86 / x86_64: 彻底删除,M4 不需要,真机也不需要
- abiFilters 'arm64-v8a', 'armeabi-v7a'
- }
- // testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled true
- // zipAlignEnabled true
- shrinkResources false
- proguardFiles 'proguard-project.txt'
- debuggable false
- }
- debug {
- minifyEnabled true
- shrinkResources false
- proguardFiles 'proguard-project.txt'
- }
- }
- namespace = 'com.usai.ratradefiling'
- compileOptions {
- targetCompatibility JavaVersion.VERSION_11
- sourceCompatibility JavaVersion.VERSION_11
- }
- gradle.projectsEvaluated {
- tasks.withType(JavaCompile).tap {
- configureEach {
- options.compilerArgs << "-Xlint:deprecation"
- options.compilerArgs << "-Xlint:unchecked"
- }
- }
- }
- }
- dependencies {
- // implementation fileTree(dir: "libs", include: ["*.jar"])
- // api 'androidx.appcompat:appcompat:1.6.1'
- // api 'androidx.legacy:legacy-support-v4:1.0.0'
- // api 'androidx.constraintlayout:constraintlayout:2.1.4'
- // implementation 'com.google.android.material:material:1.8.0'
- api 'androidx.appcompat:appcompat:1.7.0'
- api 'androidx.legacy:legacy-support-v4:1.0.0'
- api 'androidx.constraintlayout:constraintlayout:2.2.1'
- implementation 'com.google.android.material:material:1.12.0'
- // implementation 'com.googlecode.libphonenumber:libphonenumber:8.12.18'
- // implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
- // api 'com.android.support:support-v4:27.1.0'
- //
- implementation project(path: ':RAUtilsLibrary')
- implementation project(path: ':CommonEditorLib')
- // implementation project(path: ':rapdflib')
- // implementation 'androidx.wear:wear:1.0.0'
- // compileOnly 'com.google.android.wearable:wearable:2.6.0'
- // testImplementation 'junit:junit:4.12'
- // androidTestImplementation 'androidx.test.ext:junit:1.1.2'
- // androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
- }
|