Skip to content

Commit

Permalink
chore: fix CI for javadoc and check javadoc at CI
Browse files Browse the repository at this point in the history
Signed-off-by: Lan Liang <gcslyp@gmail.com>
  • Loading branch information
liangyuanpeng committed Oct 12, 2023
1 parent 0671166 commit 414c832
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
2 changes: 2 additions & 0 deletions gradle/publishing-release.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ signing {
sign publishing.publications."${project.name}"
}

check.dependsOn javadoc

javadoc {
if(JavaVersion.current().isJava9Compatible()) {
options.addBooleanOption('html5', true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@

package io.etcd.jetcd.maintenance;

import java.net.URI;

import io.etcd.jetcd.Maintenance;
import io.etcd.jetcd.impl.AbstractResponse;

/**
* DefragmentResponse returned by {@link Maintenance#defragmentMember(URI)} contains a header.
* DefragmentResponse returned by {@link Maintenance#defragmentMember(String)} contains a header.
*/
public class DefragmentResponse extends AbstractResponse<io.etcd.jetcd.api.DefragmentResponse> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@

package io.etcd.jetcd.maintenance;

import java.net.URI;

import io.etcd.jetcd.Maintenance;
import io.etcd.jetcd.impl.AbstractResponse;

/**
* HashKVResponse returned by {@link Maintenance#hashKV(URI, long)}.
* HashKVResponse returned by {@link Maintenance#hashKV(String, long)}.
*/
public class HashKVResponse extends AbstractResponse<io.etcd.jetcd.api.HashKVResponse> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@

package io.etcd.jetcd.maintenance;

import java.net.URI;

import io.etcd.jetcd.Maintenance;
import io.etcd.jetcd.impl.AbstractResponse;

/**
* StatusResponse returned by {@link Maintenance#statusMember(URI)} contains
* StatusResponse returned by {@link Maintenance#statusMember(String)} contains
* a header, version, dbSize, current leader, raftIndex, and raftTerm.
*/
public class StatusResponse extends AbstractResponse<io.etcd.jetcd.api.StatusResponse> {
Expand Down

0 comments on commit 414c832

Please sign in to comment.