apply plugin: 'com.android.library'

android {
    compileSdkVersion rootProject.latestCompileSdk
    buildToolsVersion = rootProject.buildToolsVersion

    defaultPublishConfig "flavor1Release"
    publishNonDefault true

    productFlavors {
        flavor1 { }
        flavor2 { }
    }

    libraryVariants.all { variant ->
        assert variant.productFlavors.size() != 0
    }
}