@Incubating public interface GradleScript
| Modifier and Type | Method and Description | 
|---|---|
| File | getSourceFile()Returns the source file for this script, or  nullif this script has no associated source file. | 
@Nullable File getSourceFile()
null if this script has no associated source file.
 If this method returns a non-null value, the given source file will exist.