12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- plugins {
- id 'com.android.library'
- }
- android {
- compileSdk 31
- defaultConfig {
- minSdk 21
- targetSdk 26
- consumerProguardFiles "consumer-rules.pro"
- }
- buildTypes {
- release {
- minifyEnabled rootProject.ext.module.minifyEnabled
- proguardFiles 'proguard-rules.pro'
- }
- debug {
- minifyEnabled rootProject.ext.module.minifyEnabled
- proguardFiles 'proguard-rules.pro'
- }
- }
- buildFeatures {
- buildConfig false
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_7
- targetCompatibility JavaVersion.VERSION_1_7
- }
- }
- android.libraryVariants.all { variant ->
- if (variant.buildType.name == 'release'){
- variant.outputs.all {
- outputFileName = "$PUBLISH_ARTIFACT_ID$PUBLISH_VERSION" + ".aar"
- }
- }else{
- variant.outputs.all {
- outputFileName = "$PUBLISH_ARTIFACT_ID" + "_"+ variant.buildType.name + "$PUBLISH_VERSION" + ".aar"
- }
- }
- }
- ext {
- PUBLISH_ARTIFACT_ID = 'yyxx_comm_platform_xinrui'
- PUBLISH_VERSION = ':3.0.100'
- }
- dependencies {
- compileOnly project(':library_base')
- compileOnly project(':library_core')
- compileOnly project(':library_channel')
- compileOnly files('../hnqj/libs/oaid_sdk_1.0.25.aar')
- }
- apply from: 'buildJar.gradle'
|