我在哪里可以找到 build.gradle 文件中 scmVersion 的 DSL 定义
Where can I find DSL definition for scmVersion in build.gradle file
我正在查看一个 build.gradle 文件,它有下面的 git 配置部分。试图在其中找到每个参数的定义,但无法在网上找到。
例如,它不适用于:
https://docs.gradle.org/current/dsl/
在哪里可以找到此文档。
scmVersion {
repository {
type = "git"
directory = project.rootProject.file("./")
remote = 'origin'
}
checks {
uncommittedChanges = true
aheadOfRemote = false
}
tag {
prefix = 'xxx-client'
}
}
scmVersion
在你的情况下可能是 axion-release-plugin。您没有提供完整的 gradle 构建脚本内容,但它可能包含以下内容:
plugins {
id 'pl.allegro.tech.build.axion-release' version '1.3.2'
}
这意味着,在某些情况下,您不会在官方 Gradle 来源上找到 DSL 定义,在这种情况下您需要查找插件文档。这是您要找的documentation。
我正在查看一个 build.gradle 文件,它有下面的 git 配置部分。试图在其中找到每个参数的定义,但无法在网上找到。 例如,它不适用于:
https://docs.gradle.org/current/dsl/
在哪里可以找到此文档。
scmVersion {
repository {
type = "git"
directory = project.rootProject.file("./")
remote = 'origin'
}
checks {
uncommittedChanges = true
aheadOfRemote = false
}
tag {
prefix = 'xxx-client'
}
}
scmVersion
在你的情况下可能是 axion-release-plugin。您没有提供完整的 gradle 构建脚本内容,但它可能包含以下内容:
plugins {
id 'pl.allegro.tech.build.axion-release' version '1.3.2'
}
这意味着,在某些情况下,您不会在官方 Gradle 来源上找到 DSL 定义,在这种情况下您需要查找插件文档。这是您要找的documentation。