mirror of
https://github.com/HighCapable/SweetDependency.git
synced 2025-09-05 18:25:48 +08:00
docs: update guide
This commit is contained in:
@@ -157,11 +157,19 @@ preferences:
|
|||||||
# 没有命名空间:implementation(com.mydemo.test.test)
|
# 没有命名空间:implementation(com.mydemo.test.test)
|
||||||
# 存在命名空间:implementation(libs.com.mydemo.test.test)
|
# 存在命名空间:implementation(libs.com.mydemo.test.test)
|
||||||
dependencies-namespace:
|
dependencies-namespace:
|
||||||
# 插件依赖必须存在命名空间,如果不设置,其默认为 "libs"
|
plugins:
|
||||||
plugins: libs
|
# 如果你希望关闭自动生成,可以设置为 false
|
||||||
# 库依赖的命名空间可选
|
# 在决定关闭时请确保构建脚本中已不存在自动生成的代码,防止发生错误
|
||||||
# 如果你不需要库依赖的命名空间,请删除此节点
|
enable: true
|
||||||
libraries: libs
|
# 插件依赖必须存在命名空间,如果不设置,其默认为 "libs"
|
||||||
|
name: libs
|
||||||
|
libraries:
|
||||||
|
# 如果你希望关闭自动生成,可以设置为 false
|
||||||
|
# 在决定关闭时请确保构建脚本中已不存在自动生成的代码,防止发生错误
|
||||||
|
enable: true
|
||||||
|
# 库依赖的命名空间可选
|
||||||
|
# 如果你不需要库依赖的命名空间,请删除此节点
|
||||||
|
name: libs
|
||||||
# 依赖版本过滤器
|
# 依赖版本过滤器
|
||||||
# 如果你需要排除一些不希望被更新到的依赖版本 (例如测试版本) 可以手动进行配置
|
# 如果你需要排除一些不希望被更新到的依赖版本 (例如测试版本) 可以手动进行配置
|
||||||
# 默认情况下过滤器已帮你自动排除测试版本,无需对此项进行配置
|
# 默认情况下过滤器已帮你自动排除测试版本,无需对此项进行配置
|
||||||
|
@@ -166,11 +166,21 @@ preferences:
|
|||||||
# No namespace: implementation(com.mydemo.test.test)
|
# No namespace: implementation(com.mydemo.test.test)
|
||||||
# Has namespace: implementation(libs.com.mydemo.test.test)
|
# Has namespace: implementation(libs.com.mydemo.test.test)
|
||||||
dependencies-namespace:
|
dependencies-namespace:
|
||||||
# Plugin dependencies namespace must exist, if not set, the default is "libs"
|
plugins:
|
||||||
plugins: libs
|
# If you want to turn off automatic generation, you can set it to false
|
||||||
# Library dependencies namespace is optional
|
# Note: When deciding to close,
|
||||||
# If you don't need the namespace of library dependencies, delete this node
|
# make sure that there is no automatically generated code in the build script to prevent errors
|
||||||
|
enable: true
|
||||||
|
# Plugin dependencies namespace must exist, if not set, the default is "libs"
|
||||||
|
name: libs
|
||||||
libraries: libs
|
libraries: libs
|
||||||
|
# If you want to turn off automatic generation, you can set it to false
|
||||||
|
# Note: When deciding to close,
|
||||||
|
# make sure that there is no automatically generated code in the build script to prevent errors
|
||||||
|
enable: true
|
||||||
|
# Library dependencies namespace is optional
|
||||||
|
# If you don't need the namespace of library dependencies, delete this node
|
||||||
|
name: libs
|
||||||
# Dependencies version filter
|
# Dependencies version filter
|
||||||
# If you need to exclude some dependency versions that you don't want to be updated to (such as test versions),
|
# If you need to exclude some dependency versions that you don't want to be updated to (such as test versions),
|
||||||
# you can configure them manually
|
# you can configure them manually
|
||||||
|
Reference in New Issue
Block a user