aboutsummaryrefslogtreecommitdiff
path: root/plugins/base
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2023-03-20 16:23:16 +0100
committerGitHub <noreply@github.com>2023-03-20 16:23:16 +0100
commite66f9d8711b5c1ba5e75fdcde8cfe998042c294a (patch)
treec26495a7d8d73b852d2c1703b7d92db1fde7f519 /plugins/base
parent047a3bcd88a4c16e18c680ecb50fdf60472d081e (diff)
downloaddokka-e66f9d8711b5c1ba5e75fdcde8cfe998042c294a.tar.gz
dokka-e66f9d8711b5c1ba5e75fdcde8cfe998042c294a.tar.bz2
dokka-e66f9d8711b5c1ba5e75fdcde8cfe998042c294a.zip
Use cache-redirector for nodejs distributions (#2927)
Diffstat (limited to 'plugins/base')
-rw-r--r--plugins/base/frontend/build.gradle.kts3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/base/frontend/build.gradle.kts b/plugins/base/frontend/build.gradle.kts
index f837575e..cadf3fae 100644
--- a/plugins/base/frontend/build.gradle.kts
+++ b/plugins/base/frontend/build.gradle.kts
@@ -5,7 +5,10 @@ plugins {
node {
version.set(libs.versions.node)
+
+ // https://github.com/node-gradle/gradle-node-plugin/blob/3.5.1/docs/faq.md#is-this-plugin-compatible-with-centralized-repositories-declaration
download.set(true)
+ distBaseUrl.set(null as String?) // Strange cast to avoid overload ambiguity
}
val npmRunBuild = tasks.getByName("npm_run_build") {