39 lines
1.1 KiB
Groovy
39 lines
1.1 KiB
Groovy
apply from: rootProject.file('cc-settings-2.gradle')
|
|
|
|
android {
|
|
namespace 'com.fanghoo.ccdemo'
|
|
compileSdk rootProject.compileVersion
|
|
compileSdkVersion rootProject.compileVersion
|
|
buildToolsVersion rootProject.buildVersion
|
|
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.ext.android.minSdkVersion
|
|
targetSdkVersion rootProject.ext.android.targetSdkVersion
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "android.test.runner.AndroidJUnitRunner"
|
|
//仅在以application方式编译时才添加applicationId属性
|
|
if (project.ext.runAsApp) {
|
|
applicationId 'com.fanghoo.ccdemo'
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'androidx.appcompat:appcompat:1.0.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
implementation project(path: ':base')
|
|
implementation files('libs/xutiles.jar')
|
|
}
|