Skip to content

Commit

Permalink
fixes javadoc checks at build time
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Florentine <[email protected]>
  • Loading branch information
jflo committed Feb 17, 2024
1 parent cc301a6 commit 251acaf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ allprojects {
from javadoc.outputDirectory
}

tasks.build {
dependsOn 'javadoc'
}
sourceCompatibility = 17
targetCompatibility = 17

Expand Down Expand Up @@ -1039,7 +1042,6 @@ def calculateVersion() {
return version
}


def getCheckedOutGitCommitHash(length = 8) {
try {
def gitFolder = "$projectDir/.git/"
Expand Down

0 comments on commit 251acaf

Please sign in to comment.