diff --git a/app/build.gradle b/app/build.gradle index 9335bcac0..021f48dae 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -95,7 +95,7 @@ dependencies { implementation 'androidx.annotation:annotation:1.3.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.2' implementation 'androidx.recyclerview:recyclerview:1.3.0-alpha01' - implementation 'androidx.preference:preference-ktx:1.2.0-rc01' + implementation "androidx.preference:preference-ktx:$preference_version" implementation 'androidx.core:core-ktx:1.7.0' implementation 'androidx.palette:palette-ktx:1.0.0' @@ -105,10 +105,9 @@ dependencies { //WebServer by NanoHttpd implementation "org.nanohttpd:nanohttpd:2.3.1" - def nav_version = '2.4.0-rc01' - implementation "androidx.navigation:navigation-runtime-ktx:$nav_version" - implementation "androidx.navigation:navigation-fragment-ktx:$nav_version" - implementation "androidx.navigation:navigation-ui-ktx:$nav_version" + implementation "androidx.navigation:navigation-runtime-ktx:$navigation_version" + implementation "androidx.navigation:navigation-fragment-ktx:$navigation_version" + implementation "androidx.navigation:navigation-ui-ktx:$navigation_version" def room_version = '2.4.0' implementation "androidx.room:room-runtime:$room_version" @@ -121,7 +120,7 @@ dependencies { implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycle_version" implementation 'com.google.android.play:core-ktx:1.8.1' - implementation 'com.google.android.material:material:1.5.0-beta01' + implementation "com.google.android.material:material:$mdc_version" def retrofit_version = '2.9.0' implementation "com.squareup.retrofit2:retrofit:$retrofit_version" @@ -138,7 +137,7 @@ dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" - def kotlin_coroutines_version = '1.6.0-RC2' + def kotlin_coroutines_version = '1.6.0-RC3' implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlin_coroutines_version" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlin_coroutines_version" diff --git a/appthemehelper/build.gradle b/appthemehelper/build.gradle index 3d9c17bb5..898a58e25 100644 --- a/appthemehelper/build.gradle +++ b/appthemehelper/build.gradle @@ -21,8 +21,8 @@ android { dependencies { implementation 'androidx.appcompat:appcompat:1.4.0' - implementation 'com.google.android.material:material:1.5.0-beta01' - implementation 'androidx.preference:preference-ktx:1.2.0-rc01' + implementation "com.google.android.material:material:$mdc_version" + implementation "androidx.preference:preference-ktx:$preference_version" implementation 'androidx.cardview:cardview:1.0.0' implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" diff --git a/build.gradle b/build.gradle index b83f8e44b..764e4911b 100644 --- a/build.gradle +++ b/build.gradle @@ -2,6 +2,11 @@ buildscript { ext.kotlin_version = '1.6.10' + ext.navigation_version = '2.4.0-rc01' + ext.mdc_version = '1.5.0-rc01' + ext.preference_version = '1.2.0-rc01' + + repositories { mavenCentral() google() @@ -9,8 +14,7 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:7.0.4' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - def nav_version = "2.4.0-rc01" - classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version" + classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigation_version" } } plugins {