-
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.
Merge pull request #35299 from gastaldi/graph_output
Output build graph using `quarkus.builder.graph-output` property
- Loading branch information
Showing
2 changed files
with
29 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
28 changes: 28 additions & 0 deletions
28
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,28 @@ | ||
package io.quarkus.runtime; | ||
|
||
import java.util.Optional; | ||
|
||
import io.quarkus.runtime.annotations.ConfigPhase; | ||
import io.quarkus.runtime.annotations.ConfigRoot; | ||
import io.smallrye.config.ConfigMapping; | ||
|
||
/** | ||
* This configuration class is here to avoid warnings when using {@code -Dquarkus.builder.=...}. | ||
* | ||
* @see io.quarkus.builder.BuildChainBuilder | ||
*/ | ||
@ConfigMapping(prefix = "quarkus.builder") | ||
@ConfigRoot(phase = ConfigPhase.RUN_TIME) | ||
public interface BuilderConfig { | ||
|
||
/** | ||
* Dump the graph output to a file. This is useful for debugging. | ||
*/ | ||
Optional<String> graphOutput(); | ||
|
||
/** | ||
* Whether to log the cause of a conflict. | ||
*/ | ||
Optional<Boolean> logConflictCause(); | ||
|
||
} |