Skip to content

Commit

Permalink
app: fix no found aar
Browse files Browse the repository at this point in the history
  • Loading branch information
lingqiqi5211 committed Apr 19, 2024
1 parent 908cdfc commit a549f72
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 22 deletions.
26 changes: 13 additions & 13 deletions common/ui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@ android {
}

dependencies {
/*implementation files(roots.animation)*/
api files(roots.appcompat)
api files(roots.core)
api files(roots.haptic)
api files(roots.folme)
api files(roots.nestedheader)
api files(roots.preference)
api files(roots.recyclerview)
api files(roots.smooth)
api files(roots.springback)
/*implementation files(roots.external)*/
api files(roots.graphics)
/*implementation files(roots.os)*/
/*implementation files("libs/animation-debug.aar")*/
api files("libs/appcompat-debug.aar")
api files("libs/core-debug.aar")
api files("libs/haptic-debug.aar")
api files("libs/folme-debug.aar")
api files("libs/nestedheader-debug.aar")
api files("libs/preference-debug.aar")
api files("libs/recyclerview-debug.aar")
api files("libs/smooth-debug.aar")
api files("libs/springback-debug.aar")
/*implementation files("libs/external-debug.aar")*/
api files("libs/graphics-debug.aar")
/*implementation files("libs/os-debug.aar")*/

api libs.core
api libs.collection
Expand Down
10 changes: 5 additions & 5 deletions config.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@


ext {
BuildTypes = "debug"
/* BuildTypes = "debug"
//公共的(系统的)
roots = [
/*"animation" : "libs/animation-${BuildTypes}.aar",*/
*//*"animation" : "libs/animation-${BuildTypes}.aar",*//*
"appcompat" : "libs/appcompat-${BuildTypes}.aar",
"core" : "libs/core-${BuildTypes}.aar",
"folme" : "libs/folme-${BuildTypes}.aar",
Expand All @@ -30,7 +30,7 @@ ext {
"smooth" : "libs/smooth-${BuildTypes}.aar",
"springback" : "libs/springback-${BuildTypes}.aar",
"graphics" : "libs/graphics-${BuildTypes}.aar",
/*"external" : "libs/external-${BuildTypes}.aar",
"os" : "libs/os-${BuildTypes}.aar"*/
]
*//*"external" : "libs/external-${BuildTypes}.aar",
"os" : "libs/os-${BuildTypes}.aar"*//*
]*/
}
6 changes: 3 additions & 3 deletions hidden-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_19
targetCompatibility = JavaVersion.VERSION_19
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_19.majorVersion
jvmTarget = JavaVersion.VERSION_21.majorVersion
}
}

Expand Down
1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,4 @@ dependencyResolutionManagement {
rootProject.name = "HyperCeiler"
include ':app'
include ':hidden-api'
include ':common'
include ':common:ui'

0 comments on commit a549f72

Please sign in to comment.