[Gradle, JS]Add optionalNpm methods

This commit is contained in:
subroh0508
2020-05-06 23:31:17 +09:00
committed by Ilya Goncharov
parent 34e8b11475
commit abf942b928
2 changed files with 23 additions and 0 deletions
@@ -71,6 +71,12 @@ interface KotlinDependencyHandler {
fun devNpm(directory: File): Dependency
fun optionalNpm(name: String, version: String = "*"): Dependency
fun optionalNpm(name: String, directory: File): Dependency
fun optionalNpm(directory: File): Dependency
fun peerNpm(name: String, version: String = "*"): Dependency
}