代码拉取完成,页面将自动刷新
apply plugin: 'com.android.library'
// JitPack Maven
apply plugin: 'com.github.dcendents.android-maven'
// Your Group
group = 'com.github.bayescom'
//maven依赖的项目名称
def pomName = "advance-core"
//def extVersionName = ""
def extVersionName = ""
def advanceLibVersionName = "${rootProject.ext.advance_lib_version}"
def advanceVersionName = "${rootProject.ext.advance_version}${extVersionName}"
def advanceVersionCode = 7
def outputName = pomName + "_" + advanceVersionName + ".aar"
android {
compileSdkVersion 29
defaultConfig {
minSdkVersion 14
targetSdkVersion 29
versionCode advanceVersionCode
versionName advanceLibVersionName
// 混淆配置自动同步到接入方
consumerProguardFiles 'proguard-rules.pro'
buildConfigField "String", "advanceVersion", "\"${advanceLibVersionName}\""
}
buildTypes {
debug {
minifyEnabled false
}
release {
minifyEnabled false
zipAlignEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
lintOptions {
abortOnError false
}
println "advanceVersionName = " + advanceVersionName
}
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
options.addStringOption('charSet', 'UTF-8')
}
repositories {
flatDir {
dirs 'libs'
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
compileOnly 'androidx.appcompat:appcompat:1.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
compileOnly(name: 'oaid_sdk_1.0.25', ext: 'aar')
//倍业SDK
compileOnly 'io.github.bayescom:mercury-sdk:4.5.0'
compileOnly "com.qq.e.union:union:4.510.1380"
}
android.libraryVariants.all { variant ->
variant.outputs.all {
outputFileName = outputName
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。