|
@@ -1,7 +1,3 @@
|
|
|
-@file:Suppress("UnstableApiUsage")
|
|
|
|
|
-
|
|
|
|
|
-enableFeaturePreview("VERSION_CATALOGS")
|
|
|
|
|
-
|
|
|
|
|
rootProject.name = "ClashForAndroid"
|
|
rootProject.name = "ClashForAndroid"
|
|
|
|
|
|
|
|
include(":app")
|
|
include(":app")
|
|
@@ -11,12 +7,20 @@ include(":design")
|
|
|
include(":common")
|
|
include(":common")
|
|
|
include(":hideapi")
|
|
include(":hideapi")
|
|
|
|
|
|
|
|
|
|
+pluginManagement {
|
|
|
|
|
+ repositories {
|
|
|
|
|
+ mavenLocal()
|
|
|
|
|
+ mavenCentral()
|
|
|
|
|
+ gradlePluginPortal()
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
dependencyResolutionManagement {
|
|
dependencyResolutionManagement {
|
|
|
versionCatalogs {
|
|
versionCatalogs {
|
|
|
- create("deps") {
|
|
|
|
|
- val agp = "7.1.1"
|
|
|
|
|
- val ksp = "1.6.10-1.0.2"
|
|
|
|
|
|
|
+ create("libs") {
|
|
|
|
|
+ val agp = "7.1.2"
|
|
|
val kotlin = "1.6.10"
|
|
val kotlin = "1.6.10"
|
|
|
|
|
+ val ksp = "$kotlin-1.0.2"
|
|
|
val golang = "1.0.4"
|
|
val golang = "1.0.4"
|
|
|
val coroutine = "1.6.0"
|
|
val coroutine = "1.6.0"
|
|
|
val coreKtx = "1.7.0"
|
|
val coreKtx = "1.7.0"
|
|
@@ -27,35 +31,35 @@ dependencyResolutionManagement {
|
|
|
val recyclerview = "1.2.1"
|
|
val recyclerview = "1.2.1"
|
|
|
val viewpager = "1.0.0"
|
|
val viewpager = "1.0.0"
|
|
|
val material = "1.5.0"
|
|
val material = "1.5.0"
|
|
|
- val appcenter = "4.4.2"
|
|
|
|
|
|
|
+ val appcenter = "4.4.3"
|
|
|
val serialization = "1.3.2"
|
|
val serialization = "1.3.2"
|
|
|
val kaidl = "1.15"
|
|
val kaidl = "1.15"
|
|
|
- val room = "2.4.1"
|
|
|
|
|
|
|
+ val room = "2.4.2"
|
|
|
val multiprocess = "1.0.0"
|
|
val multiprocess = "1.0.0"
|
|
|
|
|
|
|
|
- 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-serialization").to("org.jetbrains.kotlin:kotlin-serialization:$kotlin")
|
|
|
|
|
- alias("build-ksp").to("com.google.devtools.ksp:symbol-processing-gradle-plugin:$ksp")
|
|
|
|
|
- alias("build-golang").to("com.github.kr328.golang:gradle-plugin:$golang")
|
|
|
|
|
- alias("kotlin-coroutine").to("org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutine")
|
|
|
|
|
- alias("kotlin-serialization-json").to("org.jetbrains.kotlinx:kotlinx-serialization-json:$serialization")
|
|
|
|
|
- alias("androidx-core").to("androidx.core:core-ktx:$coreKtx")
|
|
|
|
|
- alias("androidx-activity").to("androidx.activity:activity:$activity")
|
|
|
|
|
- alias("androidx-fragment").to("androidx.fragment:fragment:$fragment")
|
|
|
|
|
- alias("androidx-appcompat").to("androidx.appcompat:appcompat:$appcompat")
|
|
|
|
|
- alias("androidx-coordinator").to("androidx.coordinatorlayout:coordinatorlayout:$coordinator")
|
|
|
|
|
- alias("androidx-recyclerview").to("androidx.recyclerview:recyclerview:$recyclerview")
|
|
|
|
|
- alias("androidx-viewpager").to("androidx.viewpager2:viewpager2:$viewpager")
|
|
|
|
|
- alias("androidx-room-compiler").to("androidx.room:room-compiler:$room")
|
|
|
|
|
- alias("androidx-room-runtime").to("androidx.room:room-runtime:$room")
|
|
|
|
|
- alias("androidx-room-ktx").to("androidx.room:room-ktx:$room")
|
|
|
|
|
- alias("google-material").to("com.google.android.material:material:$material")
|
|
|
|
|
- alias("appcenter-analytics").to("com.microsoft.appcenter:appcenter-analytics:$appcenter")
|
|
|
|
|
- alias("appcenter-crashes").to("com.microsoft.appcenter:appcenter-crashes:$appcenter")
|
|
|
|
|
- alias("kaidl-compiler").to("com.github.kr328.kaidl:kaidl:$kaidl")
|
|
|
|
|
- alias("kaidl-runtime").to("com.github.kr328.kaidl:kaidl-runtime:$kaidl")
|
|
|
|
|
- alias("rikkax-multiprocess").to("dev.rikka.rikkax.preference:multiprocess:$multiprocess")
|
|
|
|
|
|
|
+ library("build-android", "com.android.tools.build:gradle:$agp")
|
|
|
|
|
+ library("build-kotlin-common", "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin")
|
|
|
|
|
+ library("build-kotlin-serialization", "org.jetbrains.kotlin:kotlin-serialization:$kotlin")
|
|
|
|
|
+ library("build-ksp", "com.google.devtools.ksp:symbol-processing-gradle-plugin:$ksp")
|
|
|
|
|
+ library("build-golang", "com.github.kr328.golang:gradle-plugin:$golang")
|
|
|
|
|
+ library("kotlin-coroutine", "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutine")
|
|
|
|
|
+ library("kotlin-serialization-json", "org.jetbrains.kotlinx:kotlinx-serialization-json:$serialization")
|
|
|
|
|
+ library("androidx-core", "androidx.core:core-ktx:$coreKtx")
|
|
|
|
|
+ library("androidx-activity", "androidx.activity:activity:$activity")
|
|
|
|
|
+ library("androidx-fragment", "androidx.fragment:fragment:$fragment")
|
|
|
|
|
+ library("androidx-appcompat", "androidx.appcompat:appcompat:$appcompat")
|
|
|
|
|
+ library("androidx-coordinator", "androidx.coordinatorlayout:coordinatorlayout:$coordinator")
|
|
|
|
|
+ library("androidx-recyclerview", "androidx.recyclerview:recyclerview:$recyclerview")
|
|
|
|
|
+ library("androidx-viewpager", "androidx.viewpager2:viewpager2:$viewpager")
|
|
|
|
|
+ library("androidx-room-compiler", "androidx.room:room-compiler:$room")
|
|
|
|
|
+ library("androidx-room-runtime", "androidx.room:room-runtime:$room")
|
|
|
|
|
+ library("androidx-room-ktx", "androidx.room:room-ktx:$room")
|
|
|
|
|
+ library("google-material", "com.google.android.material:material:$material")
|
|
|
|
|
+ library("appcenter-analytics", "com.microsoft.appcenter:appcenter-analytics:$appcenter")
|
|
|
|
|
+ library("appcenter-crashes", "com.microsoft.appcenter:appcenter-crashes:$appcenter")
|
|
|
|
|
+ library("kaidl-compiler", "com.github.kr328.kaidl:kaidl:$kaidl")
|
|
|
|
|
+ library("kaidl-runtime", "com.github.kr328.kaidl:kaidl-runtime:$kaidl")
|
|
|
|
|
+ library("rikkax-multiprocess", "dev.rikka.rikkax.preference:multiprocess:$multiprocess")
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|