Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

Commit

Permalink
Fix nullability declaration on ScriptHandlerScope.classpath
Browse files Browse the repository at this point in the history
  • Loading branch information
bamboo committed Apr 17, 2018
1 parent 34128b6 commit d866927
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ class ScriptHandlerScope(scriptHandler: ScriptHandler) : ScriptHandler by script
/**
* Adds a dependency to the script classpath.
*/
fun DependencyHandler.classpath(dependencyNotation: Any): Dependency =
fun DependencyHandler.classpath(dependencyNotation: Any): Dependency? =
add(CLASSPATH_CONFIGURATION, dependencyNotation)
}

0 comments on commit d866927

Please sign in to comment.