加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 1.91 KB
一键复制 编辑 原始数据 按行查看 历史
hzsunyj 提交于 2019-08-01 15:14 . update source code
apply plugin: 'com.android.library'
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.appTargetSdkVersion
versionCode rootProject.ext.versionCode
versionName rootProject.ext.versionName
renderscriptTargetApi rootProject.ext.compileSdkVersion
renderscriptSupportModeEnabled true
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res', 'res-ptr2', 'res-chatroom']
assets.srcDirs = ['assets']
jniLibs.srcDirs = ['libs']
}
}
compileOptions {
sourceCompatibility rootProject.ext.appSourceCompatibility
targetCompatibility rootProject.ext.appTargetCompatibility
}
packagingOptions{
doNotStrip '*/mips/*.so'
doNotStrip '*/mips64/*.so'
}
}
dependencies {
api fileTree(dir: 'libs', include: '*.jar')
api("com.android.support:appcompat-v7:${V7_APPCOMPAT_VERSION}")
api("com.android.support:support-v4:${V4_SUPPORT_VERSION}")
api("com.android.support:design:${DESIGIN_SUPPORT_VERSION}")
api("com.android.support.constraint:constraint-layout:${CONSTRAIT_SUPPORT_VERSION}")
api 'me.everything:overscroll-decor-android:1.0.4'
api "me.leolin:ShortcutBadger:1.1.17@aar"
api 'com.github.bumptech.glide:glide:4.2.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.2.0'
api 'jp.wasabeef:glide-transformations:3.0.1'
implementation "com.github.chrisbanes.photoview:library:1.2.4"
//api 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.4.1' // if you want to use the Glide GPU Filters
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化