[Gradle, JS] Remove generateExternals
This commit is contained in:
committed by
Space Team
parent
5ed3c20160
commit
1d97b9b936
-59
@@ -68,51 +68,20 @@ interface KotlinDependencyHandler {
|
||||
fun platform(notation: Any, configureAction: Action<in Dependency>): Dependency =
|
||||
project.dependencies.platform(notation, configureAction)
|
||||
|
||||
@Deprecated("Declaring NPM dependency without version is forbidden")
|
||||
fun npm(name: String): Dependency
|
||||
|
||||
fun npm(
|
||||
name: String,
|
||||
version: String,
|
||||
generateExternals: Boolean
|
||||
): Dependency
|
||||
|
||||
fun npm(
|
||||
name: String,
|
||||
version: String
|
||||
): Dependency = npm(
|
||||
name = name,
|
||||
version = version,
|
||||
generateExternals = DEFAULT_GENERATE_EXTERNALS
|
||||
)
|
||||
|
||||
fun npm(
|
||||
name: String,
|
||||
directory: File,
|
||||
generateExternals: Boolean
|
||||
): Dependency
|
||||
|
||||
fun npm(
|
||||
name: String,
|
||||
directory: File
|
||||
): Dependency = npm(
|
||||
name = name,
|
||||
directory = directory,
|
||||
generateExternals = DEFAULT_GENERATE_EXTERNALS
|
||||
)
|
||||
|
||||
fun npm(
|
||||
directory: File,
|
||||
generateExternals: Boolean
|
||||
): Dependency
|
||||
|
||||
fun npm(
|
||||
directory: File
|
||||
): Dependency = npm(
|
||||
directory = directory,
|
||||
generateExternals = DEFAULT_GENERATE_EXTERNALS
|
||||
)
|
||||
|
||||
fun devNpm(
|
||||
name: String,
|
||||
version: String
|
||||
@@ -130,45 +99,17 @@ interface KotlinDependencyHandler {
|
||||
fun optionalNpm(
|
||||
name: String,
|
||||
version: String,
|
||||
generateExternals: Boolean
|
||||
): Dependency
|
||||
|
||||
fun optionalNpm(
|
||||
name: String,
|
||||
version: String
|
||||
): Dependency = optionalNpm(
|
||||
name = name,
|
||||
version = version,
|
||||
generateExternals = DEFAULT_GENERATE_EXTERNALS
|
||||
)
|
||||
|
||||
fun optionalNpm(
|
||||
name: String,
|
||||
directory: File,
|
||||
generateExternals: Boolean
|
||||
): Dependency
|
||||
|
||||
fun optionalNpm(
|
||||
name: String,
|
||||
directory: File
|
||||
): Dependency = optionalNpm(
|
||||
name = name,
|
||||
directory = directory,
|
||||
generateExternals = DEFAULT_GENERATE_EXTERNALS
|
||||
)
|
||||
|
||||
fun optionalNpm(
|
||||
directory: File,
|
||||
generateExternals: Boolean
|
||||
): Dependency
|
||||
|
||||
fun optionalNpm(
|
||||
directory: File
|
||||
): Dependency = optionalNpm(
|
||||
directory = directory,
|
||||
generateExternals = DEFAULT_GENERATE_EXTERNALS
|
||||
)
|
||||
|
||||
fun peerNpm(
|
||||
name: String,
|
||||
version: String
|
||||
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
/*
|
||||
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
package org.jetbrains.kotlin.gradle.plugin
|
||||
|
||||
const val DEFAULT_GENERATE_EXTERNALS = false
|
||||
Reference in New Issue
Block a user