You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
564 B

  1. def DEFAULT_MIN_SDK_VERSION = 15
  2. def minSdk = Math.max(DEFAULT_MIN_SDK_VERSION, cdvHelpers.getConfigPreference('android-minSdkVersion',0) as Integer);
  3. if (cdvMinSdkVersion == null || Integer.parseInt(cdvMinSdkVersion) < minSdk ) {
  4. ext.cdvMinSdkVersion = minSdk;
  5. }
  6. repositories{
  7. jcenter()
  8. flatDir{
  9. dirs 'libs'
  10. }
  11. }
  12. dependencies {
  13. compile 'com.android.support:support-v4:25.3.1'
  14. compile(name:'barcodescanner', ext:'aar')
  15. }
  16. android {
  17. packagingOptions {
  18. exclude 'META-INF/NOTICE'
  19. exclude 'META-INF/LICENSE'
  20. }
  21. }