- json
- xml
- yaml
- toml
toml
android studion
一般用于配置依赖
# 规范 :首字母不能大写
# 有4个[versions] [libraries] [bundles] [plugins] 可分别在这4个里面写相同的alias
# compose-compiler 用的时候会变成compose.compiler 或者直接用驼峰式
[versions]
# 基本配置
gradlePlugin = "7.3.0"
compileSdk = "33" #编辑时用最新的API
buildTools = "33.0.0"#与上面的大版本号要一致
minSdk = "21" #可运行sdk的最低版本
targetSdk = "28" # 提供向前兼容的主要依据
versionCode = "7"
versionName = "1.0.0"
[libraries]
## 极光推送
jpush = { module = "cn.jiguang.sdk:jpush", version.ref = "jpush" }
jcore = "cn.jiguang.sdk:jcore:4.1.0"
#节用于声明依赖关系包
[bundles]
#推送
push = ["jpush","jcore"]
[plugins]
android-application = { id = "com.android.application", version.ref = "gradlePlugin" }
Rust
[package]
name = "hello"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]