Skip to content

Commit 587c982

Browse files
author
AlexRogalskiy
committed
Added info on workflows
Updates on github-actions
1 parent 4d15d9d commit 587c982

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

buildSrc/src/main/groovy/dependencies.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ ext {
102102
issuesUrl = "${project.githubUrl}/issues"
103103
vcsUrl = "${project.githubUrl}.git"
104104
vcsConnection = "scm:git:git://github.com/AlexRogalskiy/${project.name}.git"
105+
isReleasedVersion = !projectConfig.version.endsWith("-SNAPSHOT")
105106

106107
specTitle = "${projectConfig.title}"
107108
specVersion = "${projectConfig.version.substring(0, projectConfig.version.lastIndexOf('-'))}"

protobuf/build.gradle

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,18 @@ compileTestJava {
7979
javadoc {
8080
options.addStringOption('Xdoclint:all,-missing', '-quiet')
8181
options.encoding = 'UTF-8'
82+
options.locale = 'en_US'
83+
title = 'Gradle Java Sample [' + version + '] API'
8284
//executable = "${System.getenv("JAVA_HOME")}/bin/javadoc"
8385
failOnError true
8486
}
87+
88+
// Turning off doclint in JDK 8 Javadoc
89+
// ref : http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html
90+
if (JavaVersion.current().isJava8Compatible()) {
91+
allprojects {
92+
tasks.withType(Javadoc) {
93+
options.addStringOption('Xdoclint:none', '-quiet')
94+
}
95+
}
96+
}

0 commit comments

Comments
 (0)