AndroidSourceFile

interface AndroidSourceFile : Named


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

Summary

Public functions

String

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

Any
srcFile(srcPath: Any)

Sets the location of the file.

Public functions

getName

fun getName(): String

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

srcFile

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.