[Gradle, JS]Add optionalNpm methods
This commit is contained in:
committed by
Ilya Goncharov
parent
34e8b11475
commit
abf942b928
+6
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user