This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
resourcePrefix "my_lib_name_" | |
// Actual android gradle configuration | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildTypes { | |
release { | |
minifyEnabled true | |
// Rules to be used during the aar generation | |
proguardFiles 'proguard-pre-delivery-rules.pro' | |
// Rules appended to the integrating app | |
consumerProguardFiles 'proguard-library-rules.pro' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
flavorDimensions "brandDimension", "speedDimension" | |
productFlavors { | |
// Flavors related to build speed | |
fastBuild { | |
minSdkVersion 21 | |
dimension "speedDimension" | |
} | |
regular { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
productFlavors { | |
fastBuild { | |
minSdkVersion 21 | |
} | |
regular { | |
// The regular minSdkVersion you use in your application | |
minSdkVersion 14 | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
productFlavors { | |
fastBuild { | |
minSdkVersion 21 | |
} | |
regular { | |
// The regular minSdkVersion you use in your application | |
minSdkVersion 14 | |
} | |
} |