|
- def DEFAULT_MIN_SDK_VERSION = 15
- def minSdk = Math.max(DEFAULT_MIN_SDK_VERSION, cdvHelpers.getConfigPreference('android-minSdkVersion',0) as Integer);
- if (cdvMinSdkVersion == null || Integer.parseInt(cdvMinSdkVersion) < minSdk ) {
- ext.cdvMinSdkVersion = minSdk;
- }
-
- repositories{
- jcenter()
- flatDir{
- dirs 'libs'
- }
- }
-
- dependencies {
- compile 'com.android.support:support-v4:25.3.1'
- compile(name:'barcodescanner', ext:'aar')
- }
-
- android {
- packagingOptions {
- exclude 'META-INF/NOTICE'
- exclude 'META-INF/LICENSE'
- }
- }
|