You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by xi...@apache.org on 2022/07/31 00:52:56 UTC
[incubator-eventmesh] branch gradle updated: Format build.gradle
This is an automated email from the ASF dual-hosted git repository.
xiaoyang pushed a commit to branch gradle
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git
The following commit(s) were added to refs/heads/gradle by this push:
new c74c9c4f Format build.gradle
c74c9c4f is described below
commit c74c9c4f26d3b679ca621d5c385dcd5a82d04805
Author: Xiaoyang Liu <si...@gmail.com>
AuthorDate: Sat Jul 30 17:52:50 2022 -0700
Format build.gradle
Signed-off-by: Xiaoyang Liu <si...@gmail.com>
---
build.gradle | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/build.gradle b/build.gradle
index 490b9a2f..6f2f8df6 100644
--- a/build.gradle
+++ b/build.gradle
@@ -36,10 +36,10 @@ buildscript {
}
// Remove doclint warnings that pollute javadoc logs when building with Java 8
-if(JavaVersion.current().isJava8()){
+if (JavaVersion.current().isJava8()) {
allprojects {
- tasks.withType(Javadoc){
- options.addStringOption("xdoclint:none","-quiet")
+ tasks.withType(Javadoc) {
+ options.addStringOption("xdoclint:none", "-quiet")
}
}
}
@@ -131,9 +131,7 @@ task installPlugin() {
return
}
pluginFile.mkdirs()
- println String.format(
- "install plugin, pluginType: %s, pluginInstanceName: %s, module: %s", pluginType, pluginName, subProject.getName()
- )
+ println String.format("install plugin, pluginType: %s, pluginInstanceName: %s, module: %s", pluginType, pluginName, subProject.getName())
copy {
into "${rootDir}/dist/plugin/${pluginType}/${pluginName}"
@@ -244,8 +242,7 @@ subprojects {
"Implementation-Version": project.version,
"Implementation-Vendor": "Apache",
"Implementation-Title": project.name,
- "Build-Jdk": project.findProperty("jdk")
- )
+ "Build-Jdk": project.findProperty("jdk"))
}
}
@@ -271,8 +268,7 @@ subprojects {
"eventmesh-spi",
"eventmesh-webhook-api",
"eventmesh-webhook-admin",
- "eventmesh-webhook-receive"
- ]
+ "eventmesh-webhook-receive"]
doLast {
copy {
into("${projectDir}/dist/apps")
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org