-
Notifications
You must be signed in to change notification settings - Fork 2
/
commonlibs3.gradle
97 lines (92 loc) · 3.54 KB
/
commonlibs3.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
def config = rootProject.ext //配置
def librarys = config.dependencies //
android {
// aaptOptions {
// cruncherEnabled = false
// useNewCruncher = false
// }
// packagingOptions {
// exclude 'META-INF/rxjava.properties'
// }
packagingOptions {
// pickFirst 'lib/armeabi/libRSSupport.so'
// pickFirst 'lib/armeabi/librsjni_androidx.so'
// pickFirst 'lib/armeabi/librsjni.so'
// pickFirst 'lib/armeabi-v7a/libRSSupport.so'
// pickFirst 'lib/armeabi-v7a/librsjni_androidx.so'
// pickFirst 'lib/armeabi-v7a/librsjni.so'
// pickFirst 'lib/arm64-v8a/librsjni.so'
// pickFirst 'lib/arm64-v8a/libRSSupport.so'
// pickFirst 'lib/arm64-v8a/librsjni_androidx.so'
// pickFirst 'lib/x86_64/libRSSupport.so'
// pickFirst 'lib/x86_64/librsjni_androidx.so'
// pickFirst 'lib/x86_64/librsjni.so'
// pickFirst 'lib/x86/librsjni_androidx.so'
// pickFirst 'lib/x86/libRSSupport.so'
// pickFirst 'lib/x86/librsjni.so'
//
// pickFirst 'lib/arm64-v8a/libBaiduMapSDK_util_v4_0_0.so'
// pickFirst 'lib/arm64-v8a/libBaiduMapSDK_map_v4_0_0.so'
// pickFirst 'lib/arm64-v8a/libBaiduMapSDK_util_v4_0_0.so'
// pickFirst 'lib/arm64-v8a/libBaiduMapSDK_base_v4_0_0.so'
// pickFirst 'lib/arm64-v8a/liblocSDK7.so'
//
// pickFirst 'lib/armeabi/libijkplayer.so'
// pickFirst 'lib/armeabi/libijkffmpeg.so'
// pickFirst 'lib/armeabi/libijksdl.so'
// pickFirst 'lib/armeabi-v7a/libijkplayer.so'
// pickFirst 'lib/armeabi-v7a/libijkffmpeg.so'
// pickFirst 'lib/armeabi-v7a/libijksdl.so'
// pickFirst 'lib/arm64-v8a/libijkplayer.so'
// pickFirst 'lib/arm64-v8a/libijkffmpeg.so'
// pickFirst 'lib/arm64-v8a/libijksdl.so'
// pickFirst 'lib/x86_64/libijkplayer.so'
// pickFirst 'lib/x86_64/libijkffmpeg.so'
// pickFirst 'lib/x86_64/libijksdl.so'
// pickFirst 'lib/x86/libijkplayer.so'
// pickFirst 'lib/x86/libijkffmpeg.so'
// pickFirst 'lib/x86/libijksdl.so'
}
compileSdkVersion config.compileSdkVersion
defaultConfig {
minSdkVersion config.minSdkVersion
targetSdkVersion config.targetSdkVersion
versionCode config.appversionCode
versionName config.appversionName
multiDexEnabled true
renderscriptTargetApi 30
renderscriptSupportModeEnabled true
vectorDrawables.useSupportLibrary = true
// signingConfig signingConfigs.debug
// ndk {
// moduleName "aaaa,bbb"
// ldLibs "log", "z", "m", "android", "c"
// abiFilters "armeabi", "armeabi-v7a", "x86"
// }
sourceSets.main {
jni.srcDirs = []
//LOCAL_LDFLAGS += -fuse-ld=bfd
//jni.srcDirs 'src/main/jni'
jniLibs.srcDir '../../otherjar'
}
}
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
libraryVariants.all { variant ->
variant.outputs.all {
// outputFileName = "${variant.name}-${variant.versionName}.apk"
// outputFileName = "${project.name}.aar"
outputFileName = "${project.name}.aar"
}
}
// buildTypes {
// release {
// minifyEnabled false
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
// }
// }
}