Questions tagged [multi-project]
319 questions
0
votes
1 answer
Gradle embedded Project
Is it possible to embed multiple projects in a single build.gradle?
Something along the lines of:
project projX {
task a << {
}
}
project projY {
task a << {
}
}
Both within the same build.gradle. Is this possible?
I am asking this…

nfusion
- 589
- 1
- 4
- 11
0
votes
1 answer
gradle compile dependency on demand, otherwise use jars
I'm interested in using gradle in a multi-module project, I can re-use this question Gradle nested multi-projects with project compile dependencies and also illustrate on its dependencies
Root
|__ P1
| |_ PP1
| |_ PP2
|
|__ P2
…

pavel
- 377
- 2
- 11
0
votes
1 answer
Best practice to mange multiple projects with a (maven) repository and Maven/Gradle?
This is not an exactly Gradle problem. But a more general build question. We have some projects structured as the following:
-- A (by team 1)
-- build.gradle
-- settings.gradle
-- B (by team 1,3)
--build.gradle
-- C (by team 2)
-- D (by…

zggame
- 969
- 2
- 9
- 15
0
votes
1 answer
Gradle solution-like project
I need some gradle awesomeness.
I have a project with module architecture. It has modules:
api, platform and extension modules which are made by using api module. Since I've started to realize this project alone it has a file…

VP.
- 15,509
- 17
- 91
- 161
0
votes
1 answer
Multi-Project Template creates only empty folder
I have created a multi-project template. But I'm not able to get it working. It creates only empty folders for solution. Could not find useful info on google. Here is the template…

Andy
- 321
- 1
- 3
- 11
0
votes
1 answer
Error during drag one project to another in XCode
I have one iPhone app but I want create a second one in xCode, which will use the first apps classes.
I create the second app and drag and drop classes from first app to second one ( i have not selected "Copy items into destination group's folder"…

user2765848
- 137
- 1
- 1
- 6
0
votes
2 answers
Gradle dependency on project for all configurations
I'm looking into using Gradle instead of Ant/Ivy. I'm trying to create dependencies between my projects for all configurations, so that for example, project1.compile depends on project2.compile, project1.runtime depends on project2.runtime, etc.
In…

Sean Adkinson
- 8,425
- 3
- 45
- 64
0
votes
1 answer
Invoking function in project A from project B without references
I change my post because the last one was unclear.
Is it possible to call function in project A from project B (in the same solution of course) without creating a reference?
I found this article:…

Adam Mrozek
- 1,410
- 4
- 26
- 49
0
votes
1 answer
Custom task build order in Gradle
I have a multi-project Gradle build with a custom defind xjc task to build the jaxb generated objects and I am having issues with steps building in the correct order.
I have 3 projects, common, ref and product. ref depends on common and product…

Klunk
- 815
- 7
- 22
0
votes
1 answer
Custom Parcelables over AIDL shared between Multiple APPs results in ClassNotDefError
I have three Android Projects in Eclipse:
App A (hosts a Service)
App B (uses Service from A)
AIDL (definition and some custom parcelables)
APP A launches APP B. APP B uses an Service via AIDL from APP A. Works well so far.
The Problem is that…

Kitesurfer
- 3,438
- 2
- 29
- 47
0
votes
1 answer
osgi projects with several poms in intellij idea
I have two maven projects with 2 poms (type). Some components from project 1 are depending on projects 2. Almost all components (maven) are osgi components.
The question is: since IntelliJ IDEA does not support multi-projects it is impossible to…

ses
- 13,174
- 31
- 123
- 226
0
votes
1 answer
Android runtime exception - Could not find class XXX referenced from method XXX.
I have a few android projects that i'm trying to put together, but i'm facing some runtime exceptions that i can't understand.
The projects are built like this:
C/C++ Project
ProjCore (has .c and .h files)
Android Project
ProjB -> uses ->…

taciosd
- 211
- 4
- 14
0
votes
1 answer
Moving common code into `subprojects {}` block breaks build
I have a multi-project (multiple java subprojects) in Grade and I plan to upload it to a maven repository (currently a local one) including the sources and javadoc artifacts. I simply add the following code to each subproject and then maven install…

Martin L.
- 680
- 7
- 14
0
votes
1 answer
How do you prefer to split your multi-part program?
Having a program that has several distinct parts is usual.By part I mean a graphical part that has its own windows and functionalities.(About non graphical part, I think creating a library is the preferable solution)
How do you prefer to separate…

s4eed
- 7,173
- 9
- 67
- 104
0
votes
1 answer
Maven2 can't resolve sub-dependencies
We're using Maven2 in a multiproject environment. Actually I'm dealing with the dependency-scope. In the target solution I want to submit all dependeniecs to the vm by setting the classpath.
Pom_Project_A_.xml
…

Mirko
- 1,512
- 1
- 12
- 19