diff --git a/besu/src/main/java/org/hyperledger/besu/cli/options/stable/DataStorageOptions.java b/besu/src/main/java/org/hyperledger/besu/cli/options/stable/DataStorageOptions.java index 787fb9f66b6..53f98fc660c 100644 --- a/besu/src/main/java/org/hyperledger/besu/cli/options/stable/DataStorageOptions.java +++ b/besu/src/main/java/org/hyperledger/besu/cli/options/stable/DataStorageOptions.java @@ -139,6 +139,12 @@ public void validate(final CommandLine commandLine) { } } + /** + * Converts to options from the configuration + * + * @param domainObject to be reversed + * @return the options that correspond to the configuration + */ public static DataStorageOptions fromConfig(final DataStorageConfiguration domainObject) { final DataStorageOptions dataStorageOptions = DataStorageOptions.create(); dataStorageOptions.dataStorageFormat = domainObject.getDataStorageFormat(); diff --git a/build.gradle b/build.gradle index bdbc8f87087..a2fe6e5c25e 100644 --- a/build.gradle +++ b/build.gradle @@ -138,6 +138,9 @@ allprojects { from javadoc.outputDirectory } + tasks.build { + dependsOn 'javadoc' + } sourceCompatibility = 17 targetCompatibility = 17 @@ -1039,7 +1042,6 @@ def calculateVersion() { return version } - def getCheckedOutGitCommitHash(length = 8) { try { def gitFolder = "$projectDir/.git/"