withGradleTask
Method
interface JavaAppResource { // ... omitted for brevity withGradleTask( task: string, args: string[]): JavaAppResource;}Signature
method
withGradleTaskbuilderLaunches the Java application through a Gradle task instead of `java`, for example `bootRun`.
withGradleTask( task: string, args: string[]): JavaAppResourceParameters
taskstringargsstring[]Returns
JavaAppResourceApplies to
This method applies to the following types: