Questions tagged [multi-project]
319 questions
0
votes
1 answer
Gradle - Include external projects as dependencies into .jar
I've two projects as dependencies: A, B. ( NOT SUB-projects but EXTERNAL projects )
My third project C, depends on both A and B.
I've already defined the settings.gradle in this way:
settings.gradle
rootProject.name = 'project_C'
include…

Alessandro Nicoli
- 11
- 5
0
votes
0 answers
System.IO.FileNotFoundException In multi-project solution
So I've been stuck on this error for a good week now, and it has been very frustrating
(Impossible to load the file or assembly 'Audio.Default.Switcher.Wrapper.dll' or one of its dependencies. The specified module wasn't found)
I'm working with…

Klue
- 73
- 9
0
votes
2 answers
Gradle + Eclipse : use class from existing project in a new project
I know there are a lot of questions that seem similar. I have also spent a few hours getting to grips with Gradle multiprojects. But I still don't understand what the best course of action is here. Incidentally I am using Groovy as my coding…

mike rodent
- 14,126
- 11
- 103
- 157
0
votes
2 answers
Gradle build - Resolve dependencies from downloaded archive
I'm fairly new to Gradle. I have a multi-project build that uses some dependencies currently packaged within the project (using repositories and flatDir), as they're not available in an artifactory.
I want to remove this local folder and download a…

joanna
- 743
- 3
- 13
- 27
0
votes
2 answers
How to diagnose / troubleshoot gradle build not running dependency task?
I'm adding gradle to a multi-project build and hitting the learning curve.
I need to invoke a custom task of type:Exec before compilation of a subproject. The task is not invoked. Why?
build.gradle of parent project
task precompiletask(type:Exec) {
…

haelix
- 4,245
- 4
- 34
- 56
0
votes
1 answer
Sub graph of the project graph in intellij
Say, for example, we have the following situation:
ProjectA
|
|
->ProjectB
| |
| |
| -> ProjectC
|
|-> ProjectD
ProjectY
|
|
->ProjectZ
| |
| |
| -> ProjectC
|
|-> ProjectD
So we…

Gesar
- 389
- 1
- 7
0
votes
1 answer
Gradle multi-project dependencies with snapshots
I have a multiple project build with flat paths, e.g.:
settings.gradle:
includeFlat 'projA','projB','projC'
There are about 20 different sub-projects with all sorts of different interdependencies. I'd like gradle to handle the dependencies but I…

AndyJ
- 1,204
- 3
- 14
- 28
0
votes
1 answer
Multi project routing does not work on playframework
Hi I'm trying to set up a multiproject scala playframework project, and I seem to have issues figuring what the issue is with my routing. SBT keeps on giving me cryptic errors. Has anyone else run into this error. What am I doing wrong here?…

Vangogh500
- 939
- 1
- 7
- 17
0
votes
1 answer
Grails Multi-Project: Running a Plugin's custom script
Followed the tutorial on multi-projects
Everything mostly works. Plugin controllers & domain classes load properly in the application. However, a problem occurs when trying to run a Plugin's custom script from the application's grails CLI.
For…

HumbleWebDev
- 555
- 4
- 20
0
votes
1 answer
subprojects dependencies failure with Gradle
I'm struggling with Gradle and the build configuration of the following project structure (pretty simple...):
/projA
/projB
/projC
projC using classes from projB.
In projA/settings.gradle:
include 'projB'
include 'projC'
In…

AdZaf
- 127
- 8
0
votes
0 answers
Grails 2.x Multiple Projects in one Site
There are multiple Grails 2.3.11 projects I have that I would like to integrate. Is it possible to have a "multi-project" setup in Grails 2? For development I would think there could be a root project that (on the UI side) you could click a link to…

Bmoe
- 888
- 1
- 15
- 37
0
votes
1 answer
How to ignore dependsOn failure because some subprojects don't have the defined task
I have a multi-project gradle build where not all of the subprojects have the same plugin, but I would like to define tasks in the root build.gradle file like this:
subprojects {
task continuousBuild(dependsOn: ["clean", "check",…

Novaterata
- 4,356
- 3
- 29
- 51
0
votes
1 answer
Upload subproject artifacts to Bintray using gradle and bintray plugin
I have a root project and some subprojects and all of them produce artifacts.
I configured bintray in the top build script (gradle) in a similar way to what I did for artifactory (same publication/configuration).
When it comes to upload artifacts to…

Adrien CABARBAYE
- 73
- 1
- 6
0
votes
0 answers
Gradle project dependency on a specific configuration
I have a user defined sourcesets (mysourceset) in project A, and in project B want to depend on its output. I tried
testCompile project(path: ':A', configuration: 'mysourcesetCompile') but no luck.
Also tried creating a configuration in project A…

Amir
- 189
- 2
- 12
0
votes
1 answer
Gradle gather all jar dependencies in multi project and build a ear
I am pretty new to gradle and I am trying to achieve the following
I have setup a multi project build, with the following structure
root:
:commonjar (java-library)
:war1 (war)
:war2 (war)
:externaljars (local repository for unmanaged jars)
:libs…

Andrea Bisiach
- 107
- 8