diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fbb6659b..6a463f8e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: uses: gradle/actions/setup-gradle@v4 - name: Build with Gradle - run: ./gradlew build jacocoTestReport -i + run: ./gradlew build jacocoTestReport javadoc -i - uses: codecov/codecov-action@v4 if: matrix.java == '21' env: diff --git a/build.gradle.kts b/build.gradle.kts index 96d75275..daf07276 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -75,6 +75,10 @@ subprojects { } } + withType { + (options as CoreJavadocOptions).addBooleanOption("Xdoclint:accessibility,html,syntax,reference", true) + } + create("sourceJar") { archiveClassifier.set("sources") from(projSourceSets["main"].allSource) diff --git a/coap-core/src/main/java/com/mbed/coap/packet/HeaderOptions.java b/coap-core/src/main/java/com/mbed/coap/packet/HeaderOptions.java index 78db289e..248ec96d 100644 --- a/coap-core/src/main/java/com/mbed/coap/packet/HeaderOptions.java +++ b/coap-core/src/main/java/com/mbed/coap/packet/HeaderOptions.java @@ -25,7 +25,7 @@ * - RFC 7959 (Block-Wise Transfers) * - draft-ietf-core-observe-09 * - RFC 9175 (Echo, Request-Tag, and Token Processing) - *

+ *

* And custom: *

  *    +-----+---+---+---+---+----------------+--------+--------+----------+