Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
硅谷海盗
kotlin
提交
ddc12834
K
kotlin
项目概览
硅谷海盗
/
kotlin
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kotlin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
ddc12834
编写于
3月 24, 2021
作者:
N
Nikolay Krasko
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add dependency verification description to ReadMe.md
上级
51393d2d
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
21 addition
and
0 deletion
+21
-0
ReadMe.md
ReadMe.md
+21
-0
未找到文件。
ReadMe.md
浏览文件 @
ddc12834
...
...
@@ -147,6 +147,27 @@ From this root project there are Run/Debug Configurations for running `IDEA` or
*
Run the
`IDEA`
run configuration in the project
*
A child IntelliJ IDEA with the Kotlin plugin will then startup
### Dependency verification
We have a
[
dependencies verification
](
https://docs.gradle.org/current/userguide/dependency_verification.html
)
feature enabled in the
repository for all Gradle builds. Gradle will check hashes (md5 and sha256) of used dependencies and will fail builds with
`Dependency verification failed`
errors when local artifacts are absent or have different hashes listed in the
[
verification-metadata.xml
](
https://github.com/JetBrains/kotlin/blob/master/gradle/verification-metadata.xml
)
file.
It's expected that
`verification-metadata.xml`
should only be updated with the commits that modify the build. There are some tips how
to perform such updates:
-
Use auto-generation for getting an initial list of new hashes (verify updates relate to you changes).
`./gradlew -M sha256,md5 help`
*(any other task may be used instead of `help`)*
-
Consider removing old versions from the file if you are updating dependencies.
-
Leave meaningful
`origin`
attribute (instead of
`Generated by Gradle`
) if you did some manual verification of the artifact.
-
Always do manual verification if several hashes are needed and a new
`also-trust`
tag has to be added.
-
If you’re adding a dependency with OS mentioning in an artifact name (
`darwin`
,
`mac`
,
`osx`
,
`linux`
,
`windows`
), remember to add
counterparts for other platforms.
# License
Kotlin is distributed under the terms of the Apache License (Version 2.0). See
[
license folder
](
license/README.md
)
for details.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录