-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Wasm] Init downloadBaseUrl with set instead of convention
^KT-72872 fixed ^KT-72874 fixed
- Loading branch information
1 parent
9809230
commit ab6bdbb
Showing
5 changed files
with
60 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...tests/src/test/resources/testProject/nodejs-setup-with-user-repositories/build.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
plugins { | ||
id("org.jetbrains.kotlin.multiplatform") | ||
} | ||
|
||
kotlin { | ||
js { | ||
nodejs() | ||
} | ||
} | ||
|
||
plugins.withType<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsPlugin> { | ||
the<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsEnvSpec>().downloadBaseUrl.set(null as String?) | ||
} |
21 changes: 21 additions & 0 deletions
21
...ts/src/test/resources/testProject/nodejs-setup-with-user-repositories/settings.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import org.gradle.api.artifacts.repositories.IvyArtifactRepository | ||
import java.net.URI | ||
|
||
dependencyResolutionManagement { | ||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) | ||
repositories { | ||
mavenLocal() | ||
mavenCentral() | ||
|
||
ivy { | ||
name = "Distributions at https://nodejs.org/dist" | ||
url = URI("https://nodejs.org/dist") | ||
|
||
patternLayout { | ||
artifact("v[revision]/[artifact](-v[revision]-[classifier]).[ext]") | ||
} | ||
metadataSources { artifact() } | ||
content { includeModule("org.nodejs", "node") } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters