Added Amoled theme

Upgrade Gradle 7.1-rc-1 > 7.2
Bumped Kotlin Version 1.5.20 > 1.5.31
Gradle FIles cleanup
All dependencies upgraded
This commit is contained in:
LooKeR
2021-10-07 00:27:07 +05:30
parent f79d666219
commit 5d4fb29f9e
10 changed files with 136 additions and 113 deletions

View File

@ -1,6 +1,6 @@
buildscript {
ext.versions = [
kotlin: '1.5.10'
kotlin: '1.5.31'
]
repositories {
@ -10,7 +10,7 @@ buildscript {
dependencies {
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:' + versions.kotlin
classpath 'com.android.tools.build:gradle:4.2.1'
classpath 'com.android.tools.build:gradle:7.0.2'
}
}
@ -18,15 +18,17 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
android {
compileSdkVersion 29
compileSdk 31
defaultConfig {
archivesBaseName = 'droidify'
applicationId 'com.looker.droidify'
minSdkVersion 28
targetSdkVersion 29
versionCode 2
versionName '0.2'
minSdk 28
targetSdk 31
versionCode 3
versionName '0.3'
vectorDrawables.useSupportLibrary true
def languages = ['en']
buildConfigField 'String[]', 'LANGUAGES', '{ "' + languages.join('", "') + '" }'
@ -38,15 +40,6 @@ android {
it.java.srcDirs += new File(javaDir.parentFile, 'kotlin')
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = compileOptions.sourceCompatibility.toString()
}
buildTypes {
debug {
minifyEnabled false
@ -54,7 +47,7 @@ android {
}
release {
minifyEnabled true
shrinkResources false
shrinkResources true
}
all {
crunchPngs false
@ -114,13 +107,11 @@ repositories {
}
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:' + versions.kotlin
implementation 'androidx.fragment:fragment-ktx:1.3.4'
implementation 'androidx.fragment:fragment-ktx:1.3.6'
implementation 'androidx.viewpager2:viewpager2:1.0.0'
implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
implementation 'com.squareup.okhttp3:okhttp:5.0.0-alpha.2'
implementation 'io.reactivex.rxjava3:rxjava:3.0.4'
implementation 'io.reactivex.rxjava3:rxjava:3.1.1'
implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
implementation 'com.fasterxml.jackson.core:jackson-core:2.12.1'
implementation 'com.fasterxml.jackson.core:jackson-core:2.13.0'
implementation 'com.squareup.picasso:picasso:2.71828'
}