diff --git a/app/build.gradle b/app/build.gradle index 173378b..1725001 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,6 +1,5 @@ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' -apply plugin: 'kotlin-android-extensions' android { compileSdkVersion 29 @@ -8,8 +7,8 @@ android { applicationId "io.github.chronosx88.yggdrasil" minSdkVersion 15 targetSdkVersion 29 - versionCode 18 - versionName "1.7" + versionCode 19 + versionName "1.8" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" setProperty("archivesBaseName", project.getParent().name+"-"+versionName) } @@ -46,6 +45,10 @@ android { exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' } + buildFeatures { + viewBinding true + } + } task ndkBuild(type: Exec) { @@ -67,8 +70,8 @@ dependencies { implementation "androidx.preference:preference-ktx:1.1.1" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" - implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7' - implementation 'com.google.android.material:material:1.3.0-alpha04' + implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.8' + implementation 'com.google.android.material:material:1.4.0-beta01' implementation 'com.google.code.gson:gson:2.8.6' implementation 'com.hbb20:ccp:2.4.0' implementation 'com.vincentbrison.openlibraries.android:dualcache:3.1.1' diff --git a/build.gradle b/build.gradle index 9d7d920..e460cbc 100644 --- a/build.gradle +++ b/build.gradle @@ -1,14 +1,14 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. - buildscript { - ext.kotlin_version = '1.4.32' + ext.kotlin_version = "1.5.0" repositories { google() mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:4.2.0-rc01' + classpath "com.android.tools.build:gradle:4.2.0" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } @@ -17,9 +17,11 @@ buildscript { allprojects { repositories { google() + mavenCentral() + jcenter() // Warning: this repository is going to shut down soon } } task clean(type: Delete) { delete rootProject.buildDir -} +} \ No newline at end of file