2022-09-05 09:23:10 +08:00
|
|
|
plugins {
|
|
|
|
|
id 'com.android.library'
|
2023-01-19 13:34:09 +08:00
|
|
|
id 'org.jetbrains.kotlin.android'
|
2024-11-02 10:45:09 +08:00
|
|
|
id 'com.google.devtools.ksp'
|
2022-09-05 09:23:10 +08:00
|
|
|
}
|
2021-06-03 10:55:06 +07:00
|
|
|
|
|
|
|
|
android {
|
2022-09-05 09:23:10 +08:00
|
|
|
namespace "com.android.systemui.shared"
|
2023-01-12 18:53:55 +08:00
|
|
|
buildFeatures {
|
|
|
|
|
aidl true
|
|
|
|
|
}
|
2021-06-03 10:55:06 +07:00
|
|
|
sourceSets {
|
|
|
|
|
main {
|
|
|
|
|
java.srcDirs = ['src']
|
|
|
|
|
aidl.srcDirs = ['src']
|
|
|
|
|
manifest.srcFile 'AndroidManifest.xml'
|
|
|
|
|
res.srcDirs = ['res']
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-11-02 10:45:09 +08:00
|
|
|
ksp {
|
|
|
|
|
arg("dagger.hilt.disableModulesHaveInstallInCheck", "true")
|
|
|
|
|
}
|
2021-06-03 10:55:06 +07:00
|
|
|
}
|
|
|
|
|
|
2024-10-06 17:33:30 +08:00
|
|
|
addFrameworkJar('framework-15.jar')
|
2023-11-21 14:13:18 +08:00
|
|
|
compileOnlyCommonJars()
|
|
|
|
|
|
2021-06-03 10:55:06 +07:00
|
|
|
dependencies {
|
2023-09-21 21:54:56 +08:00
|
|
|
compileOnly projects.hiddenApi
|
2024-12-04 08:03:15 +08:00
|
|
|
compileOnly projects.unfold
|
|
|
|
|
compileOnly projects.plugin
|
|
|
|
|
compileOnly projects.plugincore
|
2024-11-02 10:45:09 +08:00
|
|
|
compileOnly projects.flags
|
2023-01-19 13:34:09 +08:00
|
|
|
|
2023-11-21 14:13:18 +08:00
|
|
|
implementation "com.google.dagger:hilt-android:$daggerVersion"
|
2024-11-02 10:45:09 +08:00
|
|
|
ksp "com.google.dagger:hilt-compiler:$daggerVersion"
|
2023-11-21 14:13:18 +08:00
|
|
|
|
2024-06-13 21:01:32 +08:00
|
|
|
implementation "androidx.concurrent:concurrent-futures:1.2.0"
|
2021-06-03 10:55:06 +07:00
|
|
|
}
|