Explorar o código

2026-05-13 更新

1. gradle 配置更新
zhaiy hai 3 días
pai
achega
918a0478af
Modificáronse 3 ficheiros con 4 adicións e 5 borrados
  1. 1 0
      build.gradle.kts
  2. 0 3
      gradle.properties
  3. 3 2
      gradle/libs.versions.toml

+ 1 - 0
build.gradle.kts

@@ -2,4 +2,5 @@
 plugins {
     alias(libs.plugins.android.application) apply false
     alias(libs.plugins.compose.compiler) apply false
+    alias(libs.plugins.android.library) apply false
 }

+ 0 - 3
gradle.properties

@@ -22,9 +22,6 @@ kotlin.code.style=official
 # thereby reducing the size of the R class for that library
 android.nonTransitiveRClass=true
 
-# SmartRefreshLayout
-android.enableJetifier=true
-
 #org.gradle.unsafe.configuration-cache=true
 systemProp.https.protocols=TLSv1.2,TLSv1.1,TLSv1
 systemProp.http.protocols=TLSv1.2,TLSv1.1,TLSv1

+ 3 - 2
gradle/libs.versions.toml

@@ -15,7 +15,7 @@ recyclerview = "1.4.0"
 viewpager2 = "1.1.0"
 
 retrofit2 = "3.0.0"
-smartRefreshLayout = "2.1.1"
+smartRefreshLayout = "3.0.0-alpha"
 eventbus = "3.3.1"
 signalr = "10.0.7"
 smartTable = "2.2.0"
@@ -88,4 +88,5 @@ compose = [
 
 [plugins]
 android-application = { id = "com.android.application", version.ref = "agp" }
-compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
+compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
+android-library = { id = "com.android.library", version.ref = "agp" }