AndroidSourceFile

interface AndroidSourceFile : Named


An AndroidSourceFile represents a single file input for an Android project.

Summary

Public functions

@Incubating String

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

@Incubating Any
srcFile(srcPath: Any)

Sets the location of the file.

Public functions

getName

@Incubating
fun getName(): String

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

srcFile

@Incubating
fun srcFile(srcPath: Any): Any

Sets the location of the file.

Parameters
srcPath: Any

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

This method has a return value for legacy reasons.