From 60a841ba61189b9ad311d9c4eb0cecc0541cc6c2 Mon Sep 17 00:00:00 2001 From: jacques Date: Mon, 11 May 2020 20:49:29 +0200 Subject: [PATCH] Update gradle to use 28 Sdk version --- app/build.gradle | 16 ++++++++++------ build.gradle | 4 ++++ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 5c81706..fdc73b0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,13 +2,14 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 29 + compileSdkVersion 27 defaultConfig { applicationId "net.foucry.pilldroid" - minSdkVersion 27 - targetSdkVersion 29 - versionCode 1 + minSdkVersion defaultMinSdkVersion + targetSdkVersion defaultTargetSdkVersion + versionCode defaultVersionCode1 versionName "1.0" + applicationIdSuffix = 'alpha' } buildTypes { release { @@ -33,19 +34,22 @@ android { } } -repositories { +/*repositories { mavenCentral() maven { url "https://raw.github.com/embarkmobile/zxing-android-minimal/mvn-repo/maven-repository/" } -} +}*/ dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') testImplementation 'junit:junit:4.13' + implementation 'com.android.support:appcompat-v7:27.1.1' implementation 'com.android.support:recyclerview-v7:27.1.1' implementation 'com.android.support:design:27.1.1' implementation 'com.android.support:support-v4:27.1.1' + + implementation 'com.google.zxing:core:3.4.0' } diff --git a/build.gradle b/build.gradle index 15163ff..871546c 100644 --- a/build.gradle +++ b/build.gradle @@ -20,6 +20,10 @@ ext { buildToolsVersion = '27.0.1' var = '3.4.2' buildToolsVersion1 = '29.0.3' + defaultMinSdkVersion = 28 + defaultTargetSdkVersion = 28 + defaultVersionCode = 1 + defaultVersionCode1 = defaultVersionCode } allprojects {