Skip to content

Commit

Permalink
Fix error in Javadocs and run javadoc generation during 'check' (#1813)
Browse files Browse the repository at this point in the history
* Fix Javadoc error
* Ensure that Javadoc generation is tested for all `check` builds
* Generate Javadocs from delomboked sources
  • Loading branch information
rnorth authored Sep 5, 2019
1 parent acd8bdc commit 1e6ac9b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ subprojects {
}
}

// Ensure that Javadoc generation is always tested
check.dependsOn(javadoc)

javadoc {
dependsOn delombok
source = delombok.outputs
}

shadowJar {
configurations = []
classifier = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,9 @@ public RabbitMQContainer withRabbitMQConfig(MountableFile rabbitMQConf) {
/**
* Overwrites the default RabbitMQ configuration file with the supplied one.
*
* This function doesn't work with RabbitMQ < 3.7.
* This function doesn't work with RabbitMQ &lt; 3.7.
*
* This function and the Sysctl format is recommended for RabbitMQ >= 3.7
* This function and the Sysctl format is recommended for RabbitMQ &gt;= 3.7
*
* @param rabbitMQConf The rabbitmq.config file to use (in sysctl format, don't forget empty line in the end of file)
* @return This container.
Expand Down

0 comments on commit 1e6ac9b

Please sign in to comment.