Class IndraExtensionImpl

    • Constructor Detail

      • IndraExtensionImpl

        @Inject
        public IndraExtensionImpl​(org.gradle.api.model.ObjectFactory objects)
    • Method Detail

      • javaVersions

        public void javaVersions​(@NotNull
                                 @NotNull org.gradle.api.Action<JavaToolchainVersions> action)
        Description copied from interface: IndraExtension
        Configure the JVM versioning configuration.
        Specified by:
        javaVersions in interface IndraExtension
        Parameters:
        action - the action to apply to the JVM versioning configuration
      • previewFeatureArgumentProvider

        public org.gradle.process.CommandLineArgumentProvider previewFeatureArgumentProvider()
      • issues

        @NotNull
        public @NotNull org.gradle.api.provider.Property<Issues> issues()
        Specified by:
        issues in interface IndraExtension
      • license

        @NotNull
        public @NotNull org.gradle.api.provider.Property<License> license()
        Specified by:
        license in interface IndraExtension
      • github

        public void github​(@NotNull
                           @NotNull String user,
                           @NotNull
                           @NotNull String repo,
                           @Nullable
                           @Nullable org.gradle.api.Action<ApplyTo> applicable)
        Specified by:
        github in interface IndraExtension
      • gitlab

        public void gitlab​(@NotNull
                           @NotNull String user,
                           @NotNull
                           @NotNull String repo,
                           @Nullable
                           @Nullable org.gradle.api.Action<ApplyTo> applicable)
        Specified by:
        gitlab in interface IndraExtension
      • configurePublications

        public void configurePublications​(@NotNull
                                          @NotNull org.gradle.api.Action<org.gradle.api.publish.maven.MavenPublication> action)
        Specified by:
        configurePublications in interface IndraExtension
      • checkstyle

        @NotNull
        public @NotNull org.gradle.api.provider.Property<String> checkstyle()
        Description copied from interface: IndraExtension
        A property representing the version of checkstyle to be used.

        If any custom additions are applied to the checkstyle configuration, this value will be ignored.

        Specified by:
        checkstyle in interface IndraExtension
        Returns:
        the checkstyle version property
      • reproducibleBuilds

        @NotNull
        public @NotNull org.gradle.api.provider.Property<Boolean> reproducibleBuilds()
        Description copied from interface: IndraExtension
        Whether options that support reproducible builds should be enabled.

        Default: true

        Specified by:
        reproducibleBuilds in interface IndraExtension
        Returns:
        the property configuring reproducible builds
      • includeJavaSoftwareComponentInPublications

        @NotNull
        public @NotNull org.gradle.api.provider.Property<Boolean> includeJavaSoftwareComponentInPublications()
        Description copied from interface: IndraExtension
        Whether the java SoftwareComponent should be automatically included in publications.

        This property does not usually need to be changed, unless working with Gradle plugins that publish in a non-standard way.

        Specified by:
        includeJavaSoftwareComponentInPublications in interface IndraExtension
        Returns:
        the property representing this option