Commit 6b67bfc5 authored by wanglei's avatar wanglei

feat:添加aar依赖方式

parent 087df1b4
......@@ -66,7 +66,6 @@ android {
}
dependencies {
implementation(fileTree("libs"))
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.appcompat)
implementation(libs.material)
......@@ -82,9 +81,7 @@ dependencies {
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
//implementation ("com.solar.fileaceoneweea.inmanagerso:l1b2t123457j1:v30-jiagu-gp")
// implementation ("FG_com_solar_fileaceoneweea_inmanagerso_v30-jiagu-gp.aar")
// implementation(files("libs/FG_com_solar_fileaceoneweea_inmanagerso_v30-jiagu-gp.aar"))
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar", "*.aar"))))
// implementation(files("src/main/libs/FG_com_solar_fileaceoneweea_inmanagerso_v30-jiagu-gp.aar"))
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar","*.aar"))))
implementation(files("libs/gp.aar"))
}
......@@ -99,5 +99,7 @@ class MainActivity : AppCompatActivity() {
})
requestStoreFollow(launcher, disAgreeAction = {}, agreeAction = {})
val ss = ufisa.wcotfo.jcppd.lcycr.Qsmssrn()
}
}
\ No newline at end of file
......@@ -2,4 +2,5 @@
plugins {
alias(libs.plugins.androidApplication) apply false
alias(libs.plugins.jetbrainsKotlinAndroid) apply false
alias(libs.plugins.androidLibrary) apply false
}
\ No newline at end of file
......@@ -33,4 +33,5 @@ androidx-datastore-preferences = { group = "androidx.datastore", name = "datasto
[plugins]
androidApplication = { id = "com.android.application", version.ref = "agp" }
jetbrainsKotlinAndroid = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
androidLibrary = { id = "com.android.library", version.ref = "agp" }
......@@ -31,11 +31,12 @@ dependencyResolutionManagement {
password = "(ijI1DwR7[wG"
}
}
flatDir {
dirs("libs") // 如果aar位于项目的libs目录下
}
}
}
rootProject.name = "Solar Master Ace"
include(":app")
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