AndroidSourceDirectorySet

public interface AndroidSourceDirectorySet extends Named


An AndroidSourceDirectorySet represents a set of directory inputs for an Android project.

Summary

Public methods

abstract @NonNull String

A concise name for the source directory (typically used to identify it in a collection).

abstract @NonNull Object

Sets the source directories for this set.

abstract @NonNull Object

Adds the given source directory to this set.

abstract @NonNull Object

Adds the given source directories to this set.

Public methods

getName

abstract @NonNull String getName()

A concise name for the source directory (typically used to identify it in a collection).

setSrcDirs

abstract @NonNull Object setSrcDirs(@NonNull Iterable<@NonNull ?> srcDirs)

Sets the source directories for this set.

Parameters
@NonNull Iterable<@NonNull ?> srcDirs

The source directories. These are evaluated as for org.gradle.api.Project.files

This method has a return value for legacy reasons.

srcDir

abstract @NonNull Object srcDir(@NonNull Object srcDir)

Adds the given source directory to this set.

Parameters
@NonNull Object srcDir

The source directory. This is evaluated as org.gradle.api.Project.file

This method has a return value for legacy reasons.

srcDirs

abstract @NonNull Object srcDirs(@NonNull Object srcDirs)

Adds the given source directories to this set.

Parameters
@NonNull Object srcDirs

The source directories. These are evaluated as org.gradle.api.Project.files

This method has a return value for legacy reasons.