Procházet zdrojové kódy

Improve: "inline" kaidl

kr328 před 4 roky
rodič
revize
d48b15afee

+ 3 - 0
.gitmodules

@@ -1,3 +1,6 @@
 [submodule "core/src/main/golang/clash"]
 	path = core/src/main/golang/clash
 	url = https://github.com/Kr328/clash.git
+[submodule "kaidl"]
+	path = kaidl
+	url = https://github.com/Kr328/kaidl.git

+ 0 - 4
build.gradle.kts

@@ -6,10 +6,6 @@ allprojects {
     repositories {
         google()
         mavenCentral()
-
-        maven {
-            url = uri("https://maven.kr328.app")
-        }
     }
 }
 

+ 0 - 1
buildSrc/src/main/java/Dependencies.kt

@@ -4,7 +4,6 @@ const val roomVersion = "2.3.0"
 const val ktxVersion = "1.3.2"
 const val appcompatVersion = "1.2.0"
 const val muiltprocessVersion = "1.0.0"
-const val kaidlVersion = "1.11"
 const val appcenterVersion = "4.1.1"
 const val serializationVersion = "1.2.1"
 const val materialVersion = "1.3.0"

+ 1 - 0
kaidl

@@ -0,0 +1 @@
+Subproject commit 963190ac8e01f3ea14911c3fa5b4df622234c4dc

+ 2 - 2
service/build.gradle.kts

@@ -60,14 +60,14 @@ android {
 }
 
 dependencies {
-    ksp("com.github.kr328.kaidl:kaidl:$kaidlVersion")
+    ksp(project(":kaidl:kaidl"))
     kapt("androidx.room:room-compiler:$roomVersion")
 
     api(project(":core"))
     api(project(":common"))
 
     implementation(kotlin("stdlib-jdk7"))
-    implementation("com.github.kr328.kaidl:kaidl-runtime:$kaidlVersion")
+    implementation(project(":kaidl:kaidl-runtime"))
     implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutineVersion")
     implementation("androidx.room:room-runtime:$roomVersion")
     implementation("androidx.room:room-ktx:$roomVersion")

+ 2 - 0
settings.gradle.kts

@@ -6,6 +6,8 @@ include(":service")
 include(":design")
 include(":common")
 include(":hideapi")
+include(":kaidl:kaidl")
+include(":kaidl:kaidl-runtime")
 
 pluginManagement {
     repositories {