apply plugin: 'com.android.library'

android {
    compileSdkVersion 28

    defaultConfig {
        minSdkVersion 21
        targetSdkVersion 28

        flavorDimensions "versionCode"//Flavor 维度信息
    }

    productFlavors {
        ydl {}
        xlzx {}
    }
//    sourceSets {
//        main {
//            res.srcDirs = [
//                    'src/main/res',
//                    'src/ydl/res'
//            ]
//        }
//    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
    compileOptions {
        sourceCompatibility = '1.8'
        targetCompatibility = '1.8'
    }
}

dependencies {
}