Package com.github.gmazzo.buildconfig
Interface BuildConfigSourceSet
-
- All Implemented Interfaces:
-
com.github.gmazzo.buildconfig.BuildConfigClassSpec,org.gradle.api.Named
public interface BuildConfigSourceSet implements BuildConfigClassSpec
-
-
Method Summary
Modifier and Type Method Description BuildConfigClassSpecforClass(String className)Creates a secondary build class with the given className in the same package BuildConfigClassSpecforClass(String className, Action<BuildConfigClassSpec> configureAction)Creates a secondary build class with the given className in the same package abstract BuildConfigClassSpecforClass(String packageName, String className)Creates a secondary build class with the given className in a new packageName BuildConfigClassSpecforClass(String packageName, String className, Action<BuildConfigClassSpec> configureAction)Creates a secondary build class with the given className in a new packageName abstract TaskProvider<BuildConfigTask>getGenerateTask()abstract Property<BuildConfigGenerator>getGenerator()abstract Property<String>getClassName()abstract Property<String>getPackageName()abstract NamedDomainObjectContainer<BuildConfigField>getBuildConfigFields()abstract Property<String>getDocumentation()-
Methods inherited from class com.github.gmazzo.buildconfig.BuildConfigClassSpec
buildConfigField, buildConfigField, buildConfigField, buildConfigField, buildConfigField, buildConfigField, className, expect, expect, expect, expression, generator, getName, getName, packageName, useJavaOutput, useJavaOutput, useKotlinOutput, useKotlinOutput, withoutPackage -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
forClass
BuildConfigClassSpec forClass(String className)
Creates a secondary build class with the given className in the same package
-
forClass
BuildConfigClassSpec forClass(String className, Action<BuildConfigClassSpec> configureAction)
Creates a secondary build class with the given className in the same package
-
forClass
abstract BuildConfigClassSpec forClass(String packageName, String className)
Creates a secondary build class with the given className in a new packageName
-
forClass
BuildConfigClassSpec forClass(String packageName, String className, Action<BuildConfigClassSpec> configureAction)
Creates a secondary build class with the given className in a new packageName
-
getGenerateTask
abstract TaskProvider<BuildConfigTask> getGenerateTask()
-
getGenerator
abstract Property<BuildConfigGenerator> getGenerator()
-
getClassName
@Input() abstract Property<String> getClassName()
-
getPackageName
@Input()@Optional() abstract Property<String> getPackageName()
-
getBuildConfigFields
abstract NamedDomainObjectContainer<BuildConfigField> getBuildConfigFields()
-
getDocumentation
@Input()@Optional() abstract Property<String> getDocumentation()
-
-
-
-