AndroidSourceFile

public interface AndroidSourceFile extends Named


An AndroidSourceFile represents a single file input 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 location of the file.

Public methods

getName

abstract @NonNull String getName()

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

srcFile

abstract @NonNull Object srcFile(@NonNull Object srcPath)

Sets the location of the file.

Parameters
@NonNull Object srcPath

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

This method has a return value for legacy reasons.