Class AbstractQuarkusExtension

java.lang.Object
io.quarkus.gradle.tasks.AbstractQuarkusExtension
Direct Known Subclasses:
QuarkusPluginExtension

public abstract class AbstractQuarkusExtension extends Object
This base class exists to hide internal properties, make those only available in the io.quarkus.gradle.tasks package and to the QuarkusPluginExtension class itself.
  • Field Details

    • QUARKUS_PROFILE

      protected static final String QUARKUS_PROFILE
      See Also:
    • project

      protected final org.gradle.api.Project project
    • projectDir

      protected final File projectDir
    • finalName

      protected final org.gradle.api.provider.Property<String> finalName
    • quarkusBuildProperties

      protected final org.gradle.api.provider.MapProperty<String,String> quarkusBuildProperties
    • cachingRelevantProperties

      protected final org.gradle.api.provider.ListProperty<String> cachingRelevantProperties
    • codeGenForkOptions

      protected final List<org.gradle.api.Action<? super org.gradle.process.JavaForkOptions>> codeGenForkOptions
    • buildForkOptions

      protected final List<org.gradle.api.Action<? super org.gradle.process.JavaForkOptions>> buildForkOptions
  • Constructor Details

    • AbstractQuarkusExtension

      protected AbstractQuarkusExtension(org.gradle.api.Project project)
  • Method Details

    • baseConfig

      protected io.quarkus.gradle.tasks.BaseConfig baseConfig()
    • forcedPropertiesProperty

      protected org.gradle.api.provider.MapProperty<String,String> forcedPropertiesProperty()
    • ignoredEntriesProperty

      protected org.gradle.api.provider.ListProperty<String> ignoredEntriesProperty()
    • classpath

      protected org.gradle.api.file.FileCollection classpath()
    • manifest

      protected Manifest manifest()
    • buildEffectiveConfiguration

      protected EffectiveConfig buildEffectiveConfiguration(io.quarkus.bootstrap.model.ApplicationModel appModel)
    • buildSystemProperties

      protected Map<String,String> buildSystemProperties(io.quarkus.maven.dependency.ResolvedDependency appArtifact, Map<String,String> quarkusProperties)
      Filters resolved Gradle configuration for properties in the Quarkus namespace (as in start with quarkus.). This avoids exposing configuration that may contain secrets or passwords not related to Quarkus (for instance environment variables storing sensitive data for other systems).
      Parameters:
      appArtifact - the application dependency to retrive the quarkus application name and version.
      Returns:
      a filtered view of the configuration only with quarkus. names.
    • toManifestAttributeKey

      protected static String toManifestAttributeKey(String key)
    • toManifestSectionAttributeKey

      protected static String toManifestSectionAttributeKey(String section, String key)