Questions tagged [multi-project]

319 questions
0
votes
0 answers

Unable to locate task :shadowJar for a subproject despite of configuring it in a root project

I have a project structured like NetworkASCtoSocket ./client ./server ./shared What i want is being able to compile a fat jars consisting of client+shared+dependencies of both and respective for server. I have this build.gradle for a root project…
0
votes
1 answer

Configure Babel to include sibling modules referenced by alias into compilation

I have the following file structure: application1 |pacakge.json |src ||file1.ts widget-lib |package.json |src ||file2.ts ||index.ts .\widget-lib\src\index.ts bundles and reexports everything in widget-lib package. export * from…
Ivan Koshelev
  • 3,830
  • 2
  • 30
  • 50
0
votes
1 answer

Gradle rmp build from java multiproject

I am trying to build an RPM Centos 7 package from java source via Gradle. I have a java multi project environment with a shared library and a Java application. Here is the filesystem: |-- automation build.gradle settings.gradle |-- datalib …
Stefano Bossi
  • 1,138
  • 1
  • 9
  • 19
0
votes
0 answers

How do I make IntelliJ IDEA recognize a Python directory in a Java Gradle multi-project?

I have a Java multiproject which also contains some python build scripts: my_project/ ├── build.gradle.kts ├── settings.gradle.kts ├── module_a/ │ ├── build.gradle.kts │ └── src/main/java/ ├── module_b/ │ ├── build.gradle.kts │ └──…
neu242
  • 15,796
  • 20
  • 79
  • 114
0
votes
2 answers

How to apply Angular-Universal in Multi-project/Workspace?

I Need to Install angular-universal in my Workspace/Multi-Project Application.But the worst case is that I can't able to find any Document/video reference in angular.io(Official Website).They are demonstrated for only single project. Need Step by…
0
votes
1 answer

SBT: Invalid project ID: Expected ID character when pointing to module in subdirectory

I a multi-module project structured like this +- multiModuleProject +-module1 +-dir1 +-subDirModule1 +-subDirModule2 +-module3 +-build.sbt I want both subDirModule1 and subDirModule2 to be their own modules outright. I added…
suleydaman
  • 463
  • 1
  • 7
  • 18
0
votes
0 answers

In Gradle multi-project, are SourceSets of subproject scoped?

I have two Gradle subprojects which use java plugin. It defines typical main, test, etc SourceSets. Output of this task seems superimposed. I expected to see a source set per sub-project. Does Gradle scope SourceSet using sub-project name or it is…
Vortex
  • 789
  • 12
  • 21
0
votes
0 answers

Gradle repository: Failed to create MD5 hash for file content

i'm tring to make a gradle Multi-project Builds but i have some problems with compiling, it said: Failed to create MD5 hash for file content. I have a root project that contains only resources and subrojects that contains only sources and i want…
0
votes
0 answers

Gradle sub-modules could not be found

I've the following gradle project structure: SUPER/ |______A/ | |______A1/ | | |______build.gradle | |______A2/ | | |______build.gradle | |______build.gradle | |______settings.gradle | |______B/ | …
EchtFettigerKeks
  • 1,692
  • 1
  • 18
  • 33
0
votes
1 answer

Projects are not synchronizing and the tasks are not loading while refreshing the gradle projects

Gradle version - 4.2.1 I have the project structure like below. There is no error in gradle log but still the tasks not loaded. My project structure -root -Project1 -build.gradle -buildProject -settings.gradle -build.gradle …
Richard
  • 90
  • 11
0
votes
1 answer

Multi-project failed to build in Gradle-4.2.1

I am migrating my project to use Multi-project structure . Currently I am using Gradle-4.2.1. When I configure the gradle throws below exception Exception: FAILURE: Build failed with an exception. What went wrong: Could not normalize path for file…
Richard
  • 90
  • 11
0
votes
1 answer

gradle multi project build override dependencies in child

In a gradle multi project build: root << applies: dependency{ 'org:module:version1' } |- foo (version1) is ok here |- bar (version1) not ok here, I need to use version 2 Is there a way to achieve this behaviour?
Georg Heiler
  • 16,916
  • 36
  • 162
  • 292
0
votes
1 answer

Using the version SettingKey as a dependency version in sbt

Current situation My project setup looks somewhat like this: Project: root (build.sbt, version.sbt) Sub-project: projectA (build.sbt) Sub-project: projectB (build.sbt) In my version.sbt I have a val that reads the version to use from an external…
Florian Baierl
  • 2,378
  • 3
  • 25
  • 50
0
votes
0 answers

How to handle multi-project builds/repos in purescript?

We have a Purescript project that has grown organically, and it would be natural to split it up into two "binaries" and two libraries. Since the packages are still closely related, it would be convenient to maintain them in the same git repository.…
aij
  • 5,903
  • 3
  • 37
  • 41
0
votes
1 answer

In multibuild project with Gradle 5.4, sourceSompatiblity with java 8 is not taking effect

I am trying to have multibuild project with different java versions for some subprojects, using Gradle 5.4 and Intellij. First I updated all of my subprojects to have the code below in the beginning of build.gradle apply plugin:…
Govan
  • 2,079
  • 4
  • 31
  • 53