Commit 49db4091 authored by jcesarmobile's avatar jcesarmobile Committed by GitHub

Merge pull request #413 from jcesarmobile/min-sdk-fix

Make plugin use android-minSdkVersion if available
parents 2e36cd46 98feab43
def minSdkVersion = 15
if(cdvMinSdkVersion == null) {
ext.cdvMinSdkVersion = minSdkVersion;
} else if (cdvMinSdkVersion.toInteger() < minSdkVersion) {
ext.cdvMinSdkVersion = minSdkVersion;
}
cdvMinSdkVersion = Math.max(15, cdvHelpers.getConfigPreference('android-minSdkVersion', 0) as Integer)
repositories{
jcenter()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment