blob: ed71b203ac811013dc6e7cd2b405d11bddfb24a4 [file] [log] [blame]
apply plugin: 'com.android.application'
android {
signingConfigs {
release {
storeFile file("$rootDir/keys-app.jks")
storePassword '123456'
keyAlias = 'sup'
keyPassword '123456'
}
}
compileSdkVersion 28
defaultConfig {
applicationId "com.supwisdom.conferencecheck"
minSdkVersion 19
targetSdkVersion 25
versionCode 1
versionName "1.0"
ndk {
abiFilters 'armeabi-v7a', 'armeabi', 'x86'
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
buildToolsVersion = '28.0.3'
compileOptions {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
android.applicationVariants.all { variant ->
variant.outputs.all { output ->
def apkName = "conference-v${defaultConfig.versionName}-${defaultConfig.versionCode}.apk"
outputFileName = apkName
}
}
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
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
compile 'com.squareup.okhttp3:okhttp:3.10.0'
compile 'org.apache.httpcomponents:httpcore:4.4.10'
compile 'com.alibaba:fastjson:1.1.70.android'
implementation files('libs/smdt.jar')
implementation files('libs/zxinglibsl.jar')
}