diff --git a/visionSamples/barcode-reader/app/build.gradle b/visionSamples/barcode-reader/app/build.gradle index 68c19a1f..83df58d5 100644 --- a/visionSamples/barcode-reader/app/build.gradle +++ b/visionSamples/barcode-reader/app/build.gradle @@ -1,13 +1,12 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 24 - buildToolsVersion "24.0.1" + compileSdkVersion 28 defaultConfig { applicationId "com.google.android.gms.samples.vision.barcodereader" - minSdkVersion 9 - targetSdkVersion 24 + minSdkVersion 14 + targetSdkVersion 28 versionCode 1 versionName "1.0" } @@ -20,9 +19,9 @@ android { } dependencies { - compile fileTree(dir: 'libs', include: ['*.jar']) - compile 'com.android.support:support-v4:24.2.0' + implementation fileTree(dir: 'libs', include: ['*.jar']) + implementation 'com.android.support:support-v4:28.0.0-rc02' // Important - the CameraSource implementation in this project requires version 8.1 or higher. - compile 'com.google.android.gms:play-services-vision:9.4.0+' - compile 'com.android.support:design:24.2.0' + implementation 'com.google.android.gms:play-services-vision:15.0.2' + implementation 'com.android.support:design:28.0.0-rc02' } diff --git a/visionSamples/barcode-reader/build.gradle b/visionSamples/barcode-reader/build.gradle index d14039de..0a8028e5 100644 --- a/visionSamples/barcode-reader/build.gradle +++ b/visionSamples/barcode-reader/build.gradle @@ -3,9 +3,13 @@ buildscript { repositories { jcenter() + maven { + url 'https://maven.google.com/' + name 'Google' + } } dependencies { - classpath 'com.android.tools.build:gradle:2.1.3' + classpath 'com.android.tools.build:gradle:3.1.4' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -15,5 +19,9 @@ buildscript { allprojects { repositories { jcenter() + maven { + url 'https://maven.google.com/' + name 'Google' + } } } diff --git a/visionSamples/barcode-reader/gradle/wrapper/gradle-wrapper.properties b/visionSamples/barcode-reader/gradle/wrapper/gradle-wrapper.properties index 1081cc34..0be7ee22 100644 --- a/visionSamples/barcode-reader/gradle/wrapper/gradle-wrapper.properties +++ b/visionSamples/barcode-reader/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Wed Apr 10 15:27:10 PDT 2013 +#Wed Sep 12 15:15:57 EET 2018 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip