Questions tagged [multi-project]

319 questions
1
vote
1 answer

Only compile java classes in multi-project builds for inter-dependent projects

My question concerns inter-project dependencies and the resulting JARs The project structure is akin to this root -- :a -- :b -- :c -- :d The dependencies are as follows (with :d having no dependencies) a -> b -> c -> d Compiling :dcontains…
Daniel Einars
  • 133
  • 14
1
vote
1 answer

Multi-project solution & cross-application data handling

Time for another "what am I overlooking" question! Thanks in advance for your guidance, and as ever, you guys rock! :) .NET 2010 Winforms, but I only have the Express version. I have 05 Pro, but am trying to transition to 2010. If I need to…
Tinkerer_CardTracker
  • 3,397
  • 3
  • 18
  • 21
1
vote
1 answer

Build multi-project fat jars with sbt-assembly

I have multi-project with the main module called root, consumer and producer modules with dependencies which depend on the core module. The core modules hold configuration related classes. I would like to build 2 separate jars for consumer and…
Cassie
  • 2,941
  • 8
  • 44
  • 92
1
vote
1 answer

SBT: Custom commands aggregation

I'm looking for a way to create a custom command in sbt for multi-project structure in a such way: This command shouldn't do anything for the root project This command should make some action in subprojects Executing command for the root project…
nosmo
  • 108
  • 7
1
vote
1 answer

loading the right dependencies for sbt console in multi project setup causing derby security exception

I have a SBT multi project setup outlined https://github.com/geoHeil/sf-sbt-multiproject-dependency-problem and want to be able to execute sbt console in the root project. When executing: import org.apache.spark.sql.SparkSession val spark =…
Georg Heiler
  • 16,916
  • 36
  • 162
  • 292
1
vote
0 answers

Build structure for overlapping multi project builds?

I have several projects which depend on certain submodules. These dependencies are overlapping, which is why I basically organized all modules in one root folder. So let's say the structure looks like this: Root |- M1 |- M2 |- M3 |- M4 |- M5 |-…
T. Marks
  • 21
  • 1
1
vote
0 answers

Gradle multi-build flat independent projects using BND tools

I would like to have a multi-project build in a structure as such common build.gradle settings.gradle build common-build.gradle proj1 build.gradle settings.gradle proj2 build.gradle settings.gradle ... projn …
TheUberUser
  • 121
  • 1
  • 8
1
vote
0 answers

Gradle multimodule

I have one modular project, I decided to distribute it to modules. Server and client. There was a question now. How to call a dependent task from another module? parent build.gradle plugins { id "net.ltgt.apt" version "0.14" } apply from:…
LeshaRB
  • 1,345
  • 2
  • 23
  • 44
1
vote
3 answers

Adding gradle task to a subproject in method

I have a project with a bunch of subprojects. Some of the subprojects are utility projects, and some of the projects are actual applications. The "application" subprojects should all produce a jar file with a given main class etc. To solve this I've…
aioobe
  • 413,195
  • 112
  • 811
  • 826
1
vote
1 answer

maven-publish multi-project artifacts dependencies

I have been searching for an answer to my question, but I found none. I built an android project with many modules. The modules should be published in a repository (at first in the local maven repository). I've done a demo project with two simple…
Dagobert
  • 31
  • 5
1
vote
1 answer

using the domain objects in one grails project as a dependency in other grails project

I have created one grails project that contains all the foundational domain objects. I want to create separate grails projects so it helps me to keep the functional boundaries separate , but, I have a need to use these foundational domain objects…
jay
  • 182
  • 1
  • 1
  • 7
1
vote
1 answer

How can I access sub-projects of an sbt-plugin by using it as dependency in a multi-project build?

I have an sbt plugin project that uses multi-project build. I would like to use this plugin as a dependency for the other sbt project and access sub-project of this sbt plugin. I have created a plugin and I added plugin to an sbt project, but i am…
Jitendera Kumar
  • 136
  • 1
  • 12
1
vote
0 answers

Making sbt work as multiproject in in ide and stand alone in jenkins

I have a multi-project sbt build with one project that has a dependy on another project. In my ide I want to be able to re-factor the code in the dependency and it affect the code in the dependant project (so I use dependsOn) but in jenkins I want…
iou1
  • 43
  • 7
1
vote
0 answers

Incorrect application label when using android library

I am having an issue with the naming of the application when the label string comes from an android library in a multi module project. Here's some code application/src/main/AndroidManifest.xml
Robert Estivill
  • 12,369
  • 8
  • 43
  • 64
1
vote
1 answer

sbt, couple questions: dependsOn

I have some questions about SBT: 1) I'm wondering why there is an option to use 'dependOn' clause. I fully understand that it joins projects. lazy val projectA = Project("A", file("a")) lazy val projectB = Project("B",…
Alexander Kondaurov
  • 3,677
  • 5
  • 42
  • 64