androidx migration

This commit is contained in:
2020-11-04 11:09:02 +03:00
parent 5079fd8129
commit 0b0a2b7d65
92 changed files with 190 additions and 294 deletions

View File

@@ -17,14 +17,14 @@ repositories {
}
android {
compileSdkVersion 28
compileSdkVersion 29
defaultConfig {
applicationId "ch.pizzacucina.android"
minSdkVersion 16
targetSdkVersion 28
versionCode 11 // play store'daki version --> canlı: 0 - dahili test: 17
versionName "1.20" // play store'daki version --> canlı: 0.00 - dahili test: 1.17
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
targetSdkVersion 29
versionCode 12 // play store'daki version --> canlı: 0 - dahili test: 17
versionName "1.21" // play store'daki version --> canlı: 0.00 - dahili test: 1.17
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
multiDexEnabled true
manifestPlaceholders = [
onesignal_app_id: 'f347ab57-b10f-485d-aa8b-812c8d0f9f6c',
@@ -38,6 +38,10 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
@@ -47,21 +51,21 @@ dependencies {
def play_services_version_for_maps_and_locations = "16.0.0"
def retrofit_version = "2.3.0"
def okhttp_version = "3.9.1"
def butterknife_version = "8.8.1"
def butterknife_version = "10.2.3"
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
exclude group: 'com.android.support', module: 'support-annotations'
})
implementation "com.android.support:support-compat:$appcompat_version"
implementation "com.android.support:appcompat-v7:$appcompat_version"
implementation "com.android.support:design:$appcompat_version"
implementation "com.android.support:support-v13:$appcompat_version"
implementation "com.android.support:recyclerview-v7:$appcompat_version"
implementation "com.android.support:cardview-v7:$appcompat_version"
implementation 'com.android.support:multidex:1.0.3'
implementation 'androidx.core:core:1.0.0'
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.legacy:legacy-support-v13:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.multidex:multidex:2.0.0'
implementation "com.google.android.gms:play-services-base:$play_services_version_general"
implementation "com.google.android.gms:play-services-location:$play_services_version_for_maps_and_locations"