Skip to content

Commit 145b9db

Browse files
committed
Feat: Gradle Type-safe project accessors
Signed-off-by: imknown <imknown@qq.com>
1 parent 9a5de3d commit 145b9db

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ android {
112112
dependencies {
113113
implementation(fileTree("libs") { include("*.jar", "*.aar") })
114114

115-
implementation(project(":binderDetector"))
116-
implementation(project(":base"))
115+
implementation(projects.binderDetector)
116+
implementation(projects.base)
117117

118118
// region [AndroidX]
119119
implementation(libsAndroid.activity.ktx)

settings.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import org.gradle.kotlin.dsl.support.uppercaseFirstChar
22

3+
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
4+
35
pluginManagement {
46
includeBuild("build-logic")
57

0 commit comments

Comments
 (0)