mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2025-02-21 09:13:16 +03:00
Chore: update dependencies
This commit is contained in:
parent
3973fb2706
commit
aacf62c259
@ -1,17 +1,20 @@
|
|||||||
@file:Suppress("UNUSED_VARIABLE")
|
@file:Suppress("UNUSED_VARIABLE")
|
||||||
|
|
||||||
import com.android.build.gradle.BaseExtension
|
import com.android.build.gradle.BaseExtension
|
||||||
|
import com.github.benmanes.gradle.versions.VersionsPlugin
|
||||||
|
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
|
||||||
import java.net.URL
|
import java.net.URL
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
|
gradlePluginPortal()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
mavenLocal()
|
|
||||||
google()
|
google()
|
||||||
maven("https://maven.kr328.app/releases")
|
maven("https://maven.kr328.app/releases")
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
|
classpath(deps.build.update)
|
||||||
classpath(deps.build.android)
|
classpath(deps.build.android)
|
||||||
classpath(deps.build.kotlin.common)
|
classpath(deps.build.kotlin.common)
|
||||||
classpath(deps.build.kotlin.serialization)
|
classpath(deps.build.kotlin.serialization)
|
||||||
@ -21,9 +24,21 @@ buildscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
|
apply {
|
||||||
|
plugin(VersionsPlugin::class)
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.withType(DependencyUpdatesTask::class) {
|
||||||
|
val rejectPattern = Regex("(beta|alpha)", RegexOption.IGNORE_CASE)
|
||||||
|
|
||||||
|
rejectVersionIf {
|
||||||
|
candidate.version.contains(rejectPattern)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
google()
|
||||||
maven("https://maven.kr328.app/releases")
|
maven("https://maven.kr328.app/releases")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -69,12 +84,6 @@ subprojects {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
externalNativeBuild {
|
|
||||||
cmake {
|
|
||||||
version = "3.18.1"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isApp) {
|
if (isApp) {
|
||||||
packagingOptions {
|
packagingOptions {
|
||||||
excludes.add("DebugProbesKt.bin")
|
excludes.add("DebugProbesKt.bin")
|
||||||
|
@ -14,25 +14,27 @@ include(":hideapi")
|
|||||||
dependencyResolutionManagement {
|
dependencyResolutionManagement {
|
||||||
versionCatalogs {
|
versionCatalogs {
|
||||||
create("deps") {
|
create("deps") {
|
||||||
|
val version = "0.39.0"
|
||||||
val agp = "7.0.2"
|
val agp = "7.0.2"
|
||||||
val ksp = "1.5.30-1.0.0-beta09"
|
val ksp = "1.5.30-1.0.0-beta09"
|
||||||
val kotlin = "1.5.30"
|
val kotlin = "1.5.30"
|
||||||
val golang = "1.0.3"
|
val golang = "1.0.3"
|
||||||
val coroutine = "1.5.0"
|
val coroutine = "1.5.2"
|
||||||
val coreKtx = "1.5.0"
|
val coreKtx = "1.6.0"
|
||||||
val activity = "1.2.3"
|
val activity = "1.3.1"
|
||||||
val fragment = "1.3.4"
|
val fragment = "1.3.6"
|
||||||
val appcompat = "1.3.0"
|
val appcompat = "1.3.1"
|
||||||
val coordinator = "1.1.0"
|
val coordinator = "1.1.0"
|
||||||
val recyclerview = "1.2.1"
|
val recyclerview = "1.2.1"
|
||||||
val viewpager = "1.0.0"
|
val viewpager = "1.0.0"
|
||||||
val material = "1.3.0"
|
val material = "1.4.0"
|
||||||
val appcenter = "4.2.0"
|
val appcenter = "4.3.1"
|
||||||
val serialization = "1.2.1"
|
val serialization = "1.2.1"
|
||||||
val kaidl = "1.14"
|
val kaidl = "1.14"
|
||||||
val room = "2.3.0"
|
val room = "2.3.0"
|
||||||
val multiprocess = "1.0.0"
|
val multiprocess = "1.0.0"
|
||||||
|
|
||||||
|
alias("build-update").to("com.github.ben-manes:gradle-versions-plugin:$version")
|
||||||
alias("build-android").to("com.android.tools.build:gradle:$agp")
|
alias("build-android").to("com.android.tools.build:gradle:$agp")
|
||||||
alias("build-kotlin-common").to("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin")
|
alias("build-kotlin-common").to("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin")
|
||||||
alias("build-kotlin-serialization").to("org.jetbrains.kotlin:kotlin-serialization:$kotlin")
|
alias("build-kotlin-serialization").to("org.jetbrains.kotlin:kotlin-serialization:$kotlin")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user