Package io.quarkus.gradle.tasks
Class QuarkusGenerateCode
- java.lang.Object
-
- org.gradle.api.internal.AbstractTask
-
- org.gradle.api.DefaultTask
-
- io.quarkus.gradle.tasks.QuarkusTask
-
- io.quarkus.gradle.tasks.QuarkusGenerateCode
-
- All Implemented Interfaces:
java.lang.Comparable<org.gradle.api.Task>,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,org.gradle.api.plugins.ExtensionAware,org.gradle.api.Task,org.gradle.util.Configurable<org.gradle.api.Task>
public class QuarkusGenerateCode extends QuarkusTask
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]CODE_GENERATION_INPUTstatic java.lang.String[]CODE_GENERATION_PROVIDERstatic java.lang.StringINIT_AND_RUNstatic java.lang.StringQUARKUS_GENERATED_SOURCESstatic java.lang.StringQUARKUS_TEST_GENERATED_SOURCES
-
Constructor Summary
Constructors Constructor Description QuarkusGenerateCode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gradle.api.artifacts.ConfigurationgetClasspath()Create a dependency on classpath resolution.java.io.FilegetGeneratedOutputDirectory()java.util.Set<java.io.File>getInputDirectory()voidprepareQuarkus()voidsetCompileClasspath(org.gradle.api.artifacts.Configuration compileClasspath)voidsetDevMode(boolean devMode)voidsetSourcesDirectories(java.util.Set<java.nio.file.Path> sourcesDirectories)voidsetTest(boolean test)-
Methods inherited from class io.quarkus.gradle.tasks.QuarkusTask
getBuildSystemProperties
-
Methods inherited from class org.gradle.api.DefaultTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
-
Methods inherited from class org.gradle.api.internal.AbstractTask
appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects
-
-
-
-
Field Detail
-
QUARKUS_GENERATED_SOURCES
public static final java.lang.String QUARKUS_GENERATED_SOURCES
- See Also:
- Constant Field Values
-
QUARKUS_TEST_GENERATED_SOURCES
public static final java.lang.String QUARKUS_TEST_GENERATED_SOURCES
- See Also:
- Constant Field Values
-
CODE_GENERATION_PROVIDER
public static final java.lang.String[] CODE_GENERATION_PROVIDER
-
CODE_GENERATION_INPUT
public static final java.lang.String[] CODE_GENERATION_INPUT
-
INIT_AND_RUN
public static final java.lang.String INIT_AND_RUN
- See Also:
- Constant Field Values
-
-
Method Detail
-
getClasspath
@CompileClasspath public org.gradle.api.artifacts.Configuration getClasspath()
Create a dependency on classpath resolution. This makes sure included build are build this task runs.- Returns:
- resolved compile classpath
-
setCompileClasspath
public void setCompileClasspath(org.gradle.api.artifacts.Configuration compileClasspath)
-
getInputDirectory
@InputFiles public java.util.Set<java.io.File> getInputDirectory()
-
getGeneratedOutputDirectory
@OutputDirectory public java.io.File getGeneratedOutputDirectory()
-
prepareQuarkus
public void prepareQuarkus()
-
setSourcesDirectories
public void setSourcesDirectories(java.util.Set<java.nio.file.Path> sourcesDirectories)
-
setTest
public void setTest(boolean test)
-
setDevMode
public void setDevMode(boolean devMode)
-
-