-
Notifications
You must be signed in to change notification settings - Fork 0
/
commonlibs3.gradle
48 lines (47 loc) · 1.6 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
def config = rootProject.ext //配置
def librarys = config.dependencies //
android {
compileSdkVersion config.compileSdkVersion
buildToolsVersion config.buildToolsVersion
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'
// }
// }
}