JavaAppResource.withGradleTask
Method
interface JavaAppResource { // ... 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.argsstring[]Additional arguments passed to the Gradle wrapper after the task.Returns
JavaAppResource Defined on
This method is defined on the following type: