gradle-node-plugin
gradle-node-plugin copied to clipboard
Plugin [id: 'com.moowork.node', version: '1.3.1'] was not found in any of the following sources:
-
Where: Build file 'C:\projects\git\services\build.gradle' line: 16
-
What went wrong: Plugin [id: 'com.moowork.node', version: '1.3.1'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'com.moowork.node:com.moowork.node.gradle.plugin:1.3.1') Searched in the following repositories: Gradle Central Plugin Repository
-
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
-
Get more help at https://help.gradle.org.
Can you please help me to resolve this problem.
faced same problem, it resolved automatically.
That is not helpful.
Had the same problem when I accidentally enabled Gradle "offline mode" in IntelliJ Idea
close it.
We are acutally trying to build while offline. Is there somewhere we can "install" the plugin or point to local repository so that build can work or will it always try to download from internet?
add mavenLocal() to your buildscript.repositories or pluginManagement.repositories (in settings.gradle) and build the plugin locally using publishToMavenLocal though you're going to need to switch to the fork to be able to get node, see: https://github.com/node-gradle/gradle-node-plugin/issues/66 for how to use distBaseUrl and how to add an ivyrepo
Are you sure you want to build while offline rather than serving all requests through your own nexus/artifactory/etc? Because one way or another you're going to need your dependencies, and installing everything is a bother in large environments