-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
29 lines (22 loc) · 1.08 KB
/
build.gradle
File metadata and controls
29 lines (22 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// 配置 gradle 插件
// 1. AGP 插件
// 2. KGP 插件
// 3. CGP 插件
// KGP 版本说明
// https://kotlinlang.org/docs/gradle-configure-project.html?utm_campaign=gradle-jvm-toolchain&utm_medium=kgp&utm_source=warnings#apply-the-plugin
// AGP 版本说明
// https://developer.android.com/build/releases/past-releases?hl=zh-cn
// [设置 Compose Compiler Gradle 插件](https://developer.android.com/develop/ui/compose/setup-compose-dependencies-and-compiler?hl=zh-cn)
plugins {
/**
* Use `apply false` in the top-level build.gradle file to add a Gradle
* plugin as a build dependency but not apply it to the current (root)
* project. Don't use `apply false` in sub-projects. For more information,
* see Applying external plugins with same version to subprojects.
*/
id 'com.android.application' version '8.12.0' apply false
id 'com.android.library' version '8.12.0' apply false
alias(libs.plugins.org.jetbrains.kotlin.android) apply false
alias(libs.plugins.compose.compiler) apply false
alias(libs.plugins.kotlin.serialization) apply false
}