node-gradle / node-gradle/gradle-node-plugin

Add Project Dependency Configuration

Open
#71 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Groovy
Stars
677
Forks
120
PR merge metrics
No merged PRs in 30d

Description

I'm trying to set up a multi-project Gradle build. We have a node (Angular) library, several Angular projects that depend on the library, and Spring Boot (Java) projects that will contain the final output. There are examples on the web for how to set up the node vs Java projects so that the node projects build first and their output is included in the WAR produced by the Java projects so that was pretty simple.

However, because the node plugin doesn't appear to declare any outputs or configurations, I am having problems getting node projects to depend on each other or the library. The Java plugin declares dependency configurations like readOnly, implementation, etc. If this plugin declares anything like that, I cannot figure out what it is.

Is there a way to make one node project depend on another node project?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the plugin's existing handling of Node projects, outputs, and configurations, then compare it with the Java plugin configurations mentioned in the issue. Reproduce the multi-project Angular and Spring Boot setup described in the issue; done means one Node project can depend on another and its output is available to the consuming project.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, groovy, java, nodejs, spring-boot
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.