Update gradle to use 28 Sdk version

This commit is contained in:
jacques 2020-05-11 20:49:29 +02:00
parent 5795425801
commit 040a3f1d86
2 changed files with 14 additions and 6 deletions

View file

@ -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'
}

View file

@ -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 {