-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Output build graph using
quarkus.builder.graph-output
property
Add `BuilderConfig` to eliminate build warnings
- Loading branch information
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
core/runtime/src/main/java/io/quarkus/runtime/BuilderConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package io.quarkus.runtime; | ||
|
||
import java.util.Optional; | ||
|
||
import io.quarkus.runtime.annotations.ConfigItem; | ||
import io.quarkus.runtime.annotations.ConfigPhase; | ||
import io.quarkus.runtime.annotations.ConfigRoot; | ||
|
||
/** | ||
* This configuration class is here to avoid warnings when using {@code -Dquarkus.builder.=...}. | ||
* | ||
* @see io.quarkus.builder.BuildChainBuilder | ||
*/ | ||
@ConfigRoot(name = "builder", phase = ConfigPhase.RUN_TIME) | ||
public class BuilderConfig { | ||
|
||
/** | ||
* The path to the graph output file. | ||
*/ | ||
@ConfigItem | ||
public Optional<String> graphOutput; | ||
|
||
/** | ||
* Whether or not to log the cause of a conflict. | ||
*/ | ||
@ConfigItem | ||
public Optional<Boolean> logConflictCause; | ||
|
||
} |