Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
S
Solar Master Ace
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanglei
Solar Master Ace
Commits
6b67bfc5
Commit
6b67bfc5
authored
Mar 25, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:添加aar依赖方式
parent
087df1b4
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
8 deletions
+10
-8
build.gradle.kts
app/build.gradle.kts
+3
-6
gp.aar
app/libs/gp.aar
+0
-0
MainActivity.kt
app/src/main/java/com/zxhy/solarmasterace/MainActivity.kt
+2
-0
build.gradle.kts
build.gradle.kts
+1
-0
libs.versions.toml
gradle/libs.versions.toml
+1
-0
settings.gradle.kts
settings.gradle.kts
+3
-2
No files found.
app/build.gradle.kts
View file @
6b67bfc5
...
@@ -66,7 +66,6 @@ android {
...
@@ -66,7 +66,6 @@ android {
}
}
dependencies
{
dependencies
{
implementation
(
fileTree
(
"libs"
))
implementation
(
libs
.
androidx
.
core
.
ktx
)
implementation
(
libs
.
androidx
.
core
.
ktx
)
implementation
(
libs
.
androidx
.
appcompat
)
implementation
(
libs
.
androidx
.
appcompat
)
implementation
(
libs
.
material
)
implementation
(
libs
.
material
)
...
@@ -82,9 +81,7 @@ dependencies {
...
@@ -82,9 +81,7 @@ dependencies {
androidTestImplementation
(
libs
.
androidx
.
junit
)
androidTestImplementation
(
libs
.
androidx
.
junit
)
androidTestImplementation
(
libs
.
androidx
.
espresso
.
core
)
androidTestImplementation
(
libs
.
androidx
.
espresso
.
core
)
//implementation ("com.solar.fileaceoneweea.inmanagerso:l1b2t123457j1:v30-jiagu-gp")
//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
(
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
(
files
(
"libs/gp.aar"
))
}
}
\ No newline at end of file
app/
src/main/libs/FG_com_solar_fileaceoneweea_inmanagerso_v30-jiagu-
gp.aar
→
app/
libs/
gp.aar
View file @
6b67bfc5
File moved
app/src/main/java/com/zxhy/solarmasterace/MainActivity.kt
View file @
6b67bfc5
...
@@ -99,5 +99,7 @@ class MainActivity : AppCompatActivity() {
...
@@ -99,5 +99,7 @@ class MainActivity : AppCompatActivity() {
})
})
requestStoreFollow
(
launcher
,
disAgreeAction
=
{},
agreeAction
=
{})
requestStoreFollow
(
launcher
,
disAgreeAction
=
{},
agreeAction
=
{})
val
ss
=
ufisa
.
wcotfo
.
jcppd
.
lcycr
.
Qsmssrn
()
}
}
}
}
\ No newline at end of file
build.gradle.kts
View file @
6b67bfc5
...
@@ -2,4 +2,5 @@
...
@@ -2,4 +2,5 @@
plugins
{
plugins
{
alias
(
libs
.
plugins
.
androidApplication
)
apply
false
alias
(
libs
.
plugins
.
androidApplication
)
apply
false
alias
(
libs
.
plugins
.
jetbrainsKotlinAndroid
)
apply
false
alias
(
libs
.
plugins
.
jetbrainsKotlinAndroid
)
apply
false
alias
(
libs
.
plugins
.
androidLibrary
)
apply
false
}
}
\ No newline at end of file
gradle/libs.versions.toml
View file @
6b67bfc5
...
@@ -33,4 +33,5 @@ androidx-datastore-preferences = { group = "androidx.datastore", name = "datasto
...
@@ -33,4 +33,5 @@ androidx-datastore-preferences = { group = "androidx.datastore", name = "datasto
[plugins]
[plugins]
androidApplication
=
{
id
=
"com.android.application"
,
version.ref
=
"agp"
}
androidApplication
=
{
id
=
"com.android.application"
,
version.ref
=
"agp"
}
jetbrainsKotlinAndroid
=
{
id
=
"org.jetbrains.kotlin.android"
,
version.ref
=
"kotlin"
}
jetbrainsKotlinAndroid
=
{
id
=
"org.jetbrains.kotlin.android"
,
version.ref
=
"kotlin"
}
androidLibrary
=
{
id
=
"com.android.library"
,
version.ref
=
"agp"
}
settings.gradle.kts
View file @
6b67bfc5
...
@@ -31,11 +31,12 @@ dependencyResolutionManagement {
...
@@ -31,11 +31,12 @@ dependencyResolutionManagement {
password
=
"(ijI1DwR7[wG"
password
=
"(ijI1DwR7[wG"
}
}
}
}
flatDir
{
dirs
(
"libs"
)
// 如果aar位于项目的libs目录下
}
}
}
}
}
rootProject
.
name
=
"Solar Master Ace"
rootProject
.
name
=
"Solar Master Ace"
include
(
":app"
)
include
(
":app"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment