You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.1 KiB
45 lines
1.1 KiB
9 months ago
|
import com.bingce.AndroidSdk
|
||
|
import com.bingce.AndroidX
|
||
|
import com.bingce.BcFolder
|
||
|
|
||
|
apply plugin: 'com.android.library'
|
||
|
|
||
|
android {
|
||
|
compileSdk AndroidSdk.compileSdkVersion
|
||
|
namespace 'org.polaric.colorful'
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdkVersion AndroidSdk.minSdkVersion
|
||
|
targetSdkVersion AndroidSdk.targetSdkVersion
|
||
|
}
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
lintOptions {
|
||
|
abortOnError false
|
||
|
}
|
||
|
|
||
|
sourceSets {
|
||
|
main {
|
||
|
java {
|
||
|
def bcFolder = new BcFolder(project)
|
||
|
srcDirs = [
|
||
|
new File(bcFolder.rootProjectDir(), "base/buildSrc/color/main/java"),//用于存储模块相关的R、BuildConfig资源
|
||
|
new File("src/main/java")
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation AndroidX.appcompat
|
||
|
implementation AndroidX.recyclerview
|
||
|
implementation AndroidX.legacyPreference
|
||
|
implementation AndroidX.Lifecycle.extensions
|
||
|
}
|