Commit f34226a4 authored by Mygod's avatar Mygod

Update dependencies

parent c68cb906
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins { plugins {
id("com.github.ben-manes.versions") version "0.33.0" id("com.github.ben-manes.versions") version "0.36.0"
} }
buildscript { buildscript {
...@@ -18,11 +18,11 @@ buildscript { ...@@ -18,11 +18,11 @@ buildscript {
classpath(rootProject.extra.get("androidPlugin").toString()) classpath(rootProject.extra.get("androidPlugin").toString())
classpath(kotlin("gradle-plugin", kotlinVersion)) classpath(kotlin("gradle-plugin", kotlinVersion))
classpath("com.google.android.gms:oss-licenses-plugin:0.10.2") classpath("com.google.android.gms:oss-licenses-plugin:0.10.2")
classpath("com.google.firebase:firebase-crashlytics-gradle:2.3.0") classpath("com.google.firebase:firebase-crashlytics-gradle:2.4.1")
classpath("com.google.gms:google-services:4.3.4") classpath("com.google.gms:google-services:4.3.4")
classpath("com.vanniktech:gradle-maven-publish-plugin:0.13.0") classpath("com.vanniktech:gradle-maven-publish-plugin:0.13.0")
classpath("gradle.plugin.org.mozilla.rust-android-gradle:plugin:0.8.3") classpath("gradle.plugin.org.mozilla.rust-android-gradle:plugin:0.8.3")
classpath("org.jetbrains.dokka:dokka-gradle-plugin:$kotlinVersion") classpath("org.jetbrains.dokka:dokka-gradle-plugin:1.4.20")
} }
} }
......
...@@ -24,7 +24,7 @@ val Project.currentFlavor get() = gradle.startParameter.taskRequests.toString(). ...@@ -24,7 +24,7 @@ val Project.currentFlavor get() = gradle.startParameter.taskRequests.toString().
fun Project.setupCommon() { fun Project.setupCommon() {
android.apply { android.apply {
buildToolsVersion("30.0.2") buildToolsVersion("30.0.3")
compileSdkVersion(30) compileSdkVersion(30)
defaultConfig { defaultConfig {
minSdkVersion(23) minSdkVersion(23)
...@@ -46,7 +46,7 @@ fun Project.setupCommon() { ...@@ -46,7 +46,7 @@ fun Project.setupCommon() {
} }
dependencies { dependencies {
add("testImplementation", "junit:junit:4.13") add("testImplementation", "junit:junit:4.13.1")
add("androidTestImplementation", "androidx.test:runner:1.3.0") add("androidTestImplementation", "androidx.test:runner:1.3.0")
add("androidTestImplementation", "androidx.test.espresso:espresso-core:3.3.0") add("androidTestImplementation", "androidx.test.espresso:espresso-core:3.3.0")
} }
......
...@@ -67,7 +67,7 @@ tasks.register<Exec>("cargoClean") { ...@@ -67,7 +67,7 @@ tasks.register<Exec>("cargoClean") {
tasks.clean.dependsOn("cargoClean") tasks.clean.dependsOn("cargoClean")
dependencies { dependencies {
val coroutinesVersion = "1.3.9" val coroutinesVersion = "1.4.2"
val roomVersion = "2.2.5" val roomVersion = "2.2.5"
val workVersion = "2.4.0" val workVersion = "2.4.0"
...@@ -75,7 +75,7 @@ dependencies { ...@@ -75,7 +75,7 @@ dependencies {
api("androidx.appcompat:appcompat:1.2.0") api("androidx.appcompat:appcompat:1.2.0")
api("androidx.core:core-ktx:1.5.0-alpha05") api("androidx.core:core-ktx:1.5.0-alpha05")
api("androidx.fragment:fragment-ktx:1.3.0-beta01") api("androidx.fragment:fragment-ktx:1.3.0-beta02")
api("androidx.lifecycle:lifecycle-common-java8:$lifecycleVersion") api("androidx.lifecycle:lifecycle-common-java8:$lifecycleVersion")
api("androidx.lifecycle:lifecycle-livedata-core-ktx:$lifecycleVersion") api("androidx.lifecycle:lifecycle-livedata-core-ktx:$lifecycleVersion")
api("androidx.preference:preference:1.1.1") api("androidx.preference:preference:1.1.1")
...@@ -87,7 +87,7 @@ dependencies { ...@@ -87,7 +87,7 @@ dependencies {
api("com.google.firebase:firebase-analytics-ktx:18.0.0") api("com.google.firebase:firebase-analytics-ktx:18.0.0")
api("com.google.firebase:firebase-crashlytics:17.3.0") api("com.google.firebase:firebase-crashlytics:17.3.0")
api("com.jakewharton.timber:timber:4.7.1") api("com.jakewharton.timber:timber:4.7.1")
api("dnsjava:dnsjava:3.3.0") api("dnsjava:dnsjava:3.3.1")
api("org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutinesVersion") api("org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutinesVersion")
api("org.jetbrains.kotlinx:kotlinx-coroutines-play-services:$coroutinesVersion") api("org.jetbrains.kotlinx:kotlinx-coroutines-play-services:$coroutinesVersion")
kapt("androidx.room:room-compiler:$roomVersion") kapt("androidx.room:room-compiler:$roomVersion")
......
...@@ -12,17 +12,17 @@ setupApp() ...@@ -12,17 +12,17 @@ setupApp()
android.defaultConfig.applicationId = "com.github.shadowsocks" android.defaultConfig.applicationId = "com.github.shadowsocks"
dependencies { dependencies {
val cameraxVersion = "1.0.0-beta10" val cameraxVersion = "1.0.0-beta12"
implementation("androidx.browser:browser:1.2.0") implementation("androidx.browser:browser:1.3.0")
implementation("androidx.camera:camera-camera2:$cameraxVersion") implementation("androidx.camera:camera-camera2:$cameraxVersion")
implementation("androidx.camera:camera-lifecycle:$cameraxVersion") implementation("androidx.camera:camera-lifecycle:$cameraxVersion")
implementation("androidx.camera:camera-view:1.0.0-alpha17") implementation("androidx.camera:camera-view:1.0.0-alpha19")
implementation("androidx.constraintlayout:constraintlayout:2.0.4") implementation("androidx.constraintlayout:constraintlayout:2.0.4")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleVersion") implementation("androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleVersion")
implementation("com.google.mlkit:barcode-scanning:16.0.3") implementation("com.google.mlkit:barcode-scanning:16.0.3")
implementation("com.google.zxing:core:3.4.1") implementation("com.google.zxing:core:3.4.1")
implementation("com.takisoft.preferencex:preferencex-simplemenu:1.1.0") implementation("com.takisoft.preferencex:preferencex-simplemenu:1.1.0")
implementation("com.twofortyfouram:android-plugin-api-for-locale:1.0.4") implementation("com.twofortyfouram:android-plugin-api-for-locale:1.0.4")
implementation("me.zhanghai.android.fastscroll:library:1.1.4") implementation("me.zhanghai.android.fastscroll:library:1.1.5")
} }
...@@ -22,6 +22,7 @@ mavenPublish.targets.getByName("uploadArchives") { ...@@ -22,6 +22,7 @@ mavenPublish.targets.getByName("uploadArchives") {
} }
dependencies { dependencies {
api(kotlin("stdlib-jdk8"))
api("androidx.core:core-ktx:1.3.2") api("androidx.core:core-ktx:1.3.2")
// https://android-developers.googleblog.com/2019/07/android-q-beta-5-update.html // https://android-developers.googleblog.com/2019/07/android-q-beta-5-update.html
api("androidx.drawerlayout:drawerlayout:1.1.1") api("androidx.drawerlayout:drawerlayout:1.1.1")
......
rootProject.extra.apply { rootProject.extra.apply {
set("androidPlugin", "com.android.tools.build:gradle:4.1.1") set("androidPlugin", "com.android.tools.build:gradle:4.1.1")
set("kotlinVersion", "1.4.10") set("kotlinVersion", "1.4.21")
} }
repositories { repositories {
......
...@@ -12,5 +12,5 @@ setupApp() ...@@ -12,5 +12,5 @@ setupApp()
android.defaultConfig.applicationId = "com.github.shadowsocks.tv" android.defaultConfig.applicationId = "com.github.shadowsocks.tv"
dependencies { dependencies {
implementation("androidx.leanback:leanback-preference:1.1.0-alpha05") implementation("androidx.leanback:leanback-preference:1.1.0-beta01")
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment