1 Star 0 Fork 25

BlackAnalysis/dumpDex

forked from WrBug/dumpDex 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 2.43 KB
一键复制 编辑 原始数据 按行查看 历史
WrBug 提交于 2018-03-24 19:24 . 添加android 8.0支持
apply plugin: 'com.android.application'
android {
signingConfigs {
releaseConfig
}
compileSdkVersion 23
buildToolsVersion '26.0.2'
defaultConfig {
applicationId "com.wrbug.dumpdex"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
externalNativeBuild {
cmake {
cppFlags ""
}
}
ndk {
abiFilters "armeabi", "armeabi-v7a"
}
}
buildTypes {
debug {
versionNameSuffix "-debug"
if (signingConfigs.releaseConfig != null) {
signingConfig signingConfigs.releaseConfig
}
}
release {
minifyEnabled false
if (signingConfigs.releaseConfig != null) {
signingConfig signingConfigs.releaseConfig
}
}
}
externalNativeBuild {
cmake {
path "CMakeLists.txt"
}
}
}
Properties props = new Properties()
def propFile = file('../signing.properties')
if (propFile.canRead()) {
props.load(new FileInputStream(propFile))
if (props != null &&
props.containsKey('SIGN_FILE') && props.containsKey('SIGN_PASSWORD') &&
props.containsKey('KEY_ALIAS') && props.containsKey('KEY_PASSWORD')) {
android.signingConfigs.releaseConfig.storeFile = file(props['SIGN_FILE'])
android.signingConfigs.releaseConfig.storePassword = props['SIGN_PASSWORD']
android.signingConfigs.releaseConfig.keyAlias = props['KEY_ALIAS']
android.signingConfigs.releaseConfig.keyPassword = props['KEY_PASSWORD']
} else {
println 'release build not found signing properties'
android.buildTypes.release.signingConfig = null
}
} else {
println 'release build not found signing file'
android.buildTypes.release.signingConfig = null
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
testCompile 'junit:junit:4.12'
provided 'de.robv.android.xposed:api:82'
compile 'com.jaredrummler:android-shell:1.0.0'
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Android
1
https://gitee.com/yaojianxu/dumpDex.git
git@gitee.com:yaojianxu/dumpDex.git
yaojianxu
dumpDex
dumpDex
develop

搜索帮助

0d507c66 1850385 C8b1a773 1850385