Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
xuning
/
livekitAndroidXuningTest
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
davidliu
2022-08-15 21:58:22 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
376b40442e4b8d049e9a68624a452f1657efb691
376b4044
1 parent
bf7cf07c
add RELEASE_SIGNING_ENABLED flag to mvn push gradle script
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
11 行增加
和
3 行删除
gradle.properties
gradle/gradle-mvn-push.gradle
gradle.properties
查看文件 @
376b404
...
...
@@ -51,6 +51,8 @@ signing.keyId=
signing.password
=
signing.secretKeyRingFile
=
RELEASE_SIGNING_ENABLED
=
true
# For instrumented tests.
# WARNING: Do not edit this and potentially commit to repo.
# Instead, override in ~/.gradle/gradle.properties
...
...
gradle/gradle-mvn-push.gradle
查看文件 @
376b404
...
...
@@ -47,6 +47,10 @@ def getRepositoryPassword() {
return
hasProperty
(
'nexusPassword'
)
?
nexusPassword
:
""
}
boolean
getReleaseSigningEnabled
()
{
return
hasProperty
(
'RELEASE_SIGNING_ENABLED'
)
?
RELEASE_SIGNING_ENABLED
.
toBoolean
()
:
true
}
def
configurePom
(
pom
)
{
pom
.
name
=
POM_NAME
pom
.
packaging
=
POM_PACKAGING
...
...
@@ -151,9 +155,11 @@ afterEvaluate { project ->
configurePom
(
publication
.
pom
)
}
signing
{
publishing
.
publications
.
all
{
publication
->
sign
publication
if
(
getReleaseSigningEnabled
())
{
signing
{
publishing
.
publications
.
all
{
publication
->
sign
publication
}
}
}
}
\ No newline at end of file
...
...
请
注册
或
登录
后发表评论