mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-22 12:30:42 +01:00
Update gradle to use 28 Sdk version
This commit is contained in:
parent
159654ded5
commit
60a841ba61
2 changed files with 14 additions and 6 deletions
|
@ -2,13 +2,14 @@
|
||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 29
|
compileSdkVersion 27
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "net.foucry.pilldroid"
|
applicationId "net.foucry.pilldroid"
|
||||||
minSdkVersion 27
|
minSdkVersion defaultMinSdkVersion
|
||||||
targetSdkVersion 29
|
targetSdkVersion defaultTargetSdkVersion
|
||||||
versionCode 1
|
versionCode defaultVersionCode1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
|
applicationIdSuffix = 'alpha'
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
@ -33,19 +34,22 @@ android {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
/*repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven {
|
maven {
|
||||||
url "https://raw.github.com/embarkmobile/zxing-android-minimal/mvn-repo/maven-repository/"
|
url "https://raw.github.com/embarkmobile/zxing-android-minimal/mvn-repo/maven-repository/"
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
||||||
testImplementation 'junit:junit:4.13'
|
testImplementation 'junit:junit:4.13'
|
||||||
|
|
||||||
implementation 'com.android.support:appcompat-v7:27.1.1'
|
implementation 'com.android.support:appcompat-v7:27.1.1'
|
||||||
implementation 'com.android.support:recyclerview-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:design:27.1.1'
|
||||||
implementation 'com.android.support:support-v4:27.1.1'
|
implementation 'com.android.support:support-v4:27.1.1'
|
||||||
|
|
||||||
|
implementation 'com.google.zxing:core:3.4.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,10 @@ ext {
|
||||||
buildToolsVersion = '27.0.1'
|
buildToolsVersion = '27.0.1'
|
||||||
var = '3.4.2'
|
var = '3.4.2'
|
||||||
buildToolsVersion1 = '29.0.3'
|
buildToolsVersion1 = '29.0.3'
|
||||||
|
defaultMinSdkVersion = 28
|
||||||
|
defaultTargetSdkVersion = 28
|
||||||
|
defaultVersionCode = 1
|
||||||
|
defaultVersionCode1 = defaultVersionCode
|
||||||
}
|
}
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
|
|
Loading…
Reference in a new issue