JavaAppResource.WithGradleTask
Method
type JavaAppResource interface { // ... omitted for brevity WithGradleTask( task string, args []string, ) JavaAppResource}Signature
method
WithGradleTask builderLaunches the Java application through a Gradle task instead of
java, for example bootRun .WithGradleTask( task string, args []string,) JavaAppResourceParameters
taskstringThe Gradle task to execute.args[]string Additional arguments passed to the Gradle wrapper after the task.Returns
JavaAppResource A reference to the I.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: