Questions tagged [multi-project]

319 questions
4
votes
2 answers

Assemble all gradle build artifacts into a single directory

We're moving from Maven to Gradle and are struggling with one thing. We have a multi-project Gradle-project based on the POMs from Maven. Most of it works fine, but we cannot find out a way to collect the WAR-files and ZIP-files which are the…
Pieter
  • 3,339
  • 5
  • 30
  • 63
4
votes
1 answer

Setting a key local.sbt so that it is applied in a multi-project

How do I set key in a local.sbt in such a way that every subproject finds it ? I'm trying to use Coursier plugin in a multi project, but since I'm testing it, I'm trying not to check it in in our git repo. So I put it in my project/local.sbt and I…
Edoardo Vacchi
  • 1,284
  • 10
  • 18
4
votes
1 answer

Custom task in multi-project build in SBT build

Is there any example of a build.sbt with multi-project setup and custom task in one of these project? I can't figure out right syntax. I have a custom task on top level project. I also have a multi-project build. But combining together is quite…
Skoky
  • 849
  • 1
  • 9
  • 15
4
votes
2 answers

GORM fails to realize Domain classes from a plugin are GORM classes

I am trying to use a Grails Project as a Plugin to basically have my domain classes in the Plugin and then use them in multiple Grails projects. I've done this: grails create-app web grails create-app plugin create a settings.gradle in the root…
4
votes
0 answers

Gradle C++ native build: how to override top level properties in multi-project build

I need to build a large source tree containing multiple C++ projects. I'd like to have a top level build file that defines build conventions such as common include directories and compiler / linker flags, and then be able to override or add to the…
gareth_bowles
  • 20,760
  • 5
  • 52
  • 82
4
votes
0 answers

Best practices to define Xcode Preprocessor Macros for Multi Projects WorkSpace in iOS

I have a multiProject workspace in Xcode. I would like to setup preprocessor Macros that are accessible for all my projects according to my main project target. I have a MainProject with Target1 and Target2 I would like to access preprocessor macros…
kschaeffler
  • 4,083
  • 7
  • 33
  • 41
4
votes
0 answers

Add custom files to a Visual Studio 2013 Multi Project Template

I am trying to create a Multi Project Template and that is working good. The projects are created. For this solution there are some 3:e party dll's that the projects shall add a reference to, and some other .txt and .xml files. I have my .vstemplate…
Magnus Gladh
  • 145
  • 5
4
votes
1 answer

Factoring libraryDependencies in multi project Build.sbt

I'm trying to write a concise multi project Build.sbt, so I tried to put all library dependencies in root project and then make others depends on it. My Build.sbt looks like the following: object KataBuild extends Build { lazy val fizzBuzz…
ilmirons
  • 624
  • 6
  • 16
4
votes
1 answer

how to tell gradle to build and upload archives of dependent projects to local maven

I have a multi-project problem that Gradle's documentation doesn't have any info on (and can't find on stackoverflow also). Any help/guidance will be greatly appreciated. Here are my project layouts: project LeftArm: produces a jar file project…
ubbbb
  • 51
  • 1
  • 3
4
votes
1 answer

Gradle Android buildTypes overriding each other

I'd appreciate any help with this since I'm a noobie w/ gradle. I've got a build script with multiple buildTypes, but it appears settings for one of them are overwriting the others. Here's my build.gradle: buildscript { repositories { …
Karim Varela
  • 7,562
  • 10
  • 53
  • 78
4
votes
1 answer

resolvers not shared to dependent sbt projects?

In this weird case that seems to involve xsbt-web-plugin, I get the error unresolved dependency: play#play-json_2.10;2.2-SNAPSHOT: not found when loading the server subproject. The dependency and the correct resolver are specified in the library…
arya
  • 946
  • 5
  • 14
4
votes
3 answers

GWT. Maven. GWT Module not found in project sources or resources

I have a maven multi-module project. One of this modules (compiled as .jar) contains only domain objects, which will be used at client and server sides (I add this .jar as dependency to other my modules). I know that GWT module, where will be used…
WelcomeTo
  • 19,843
  • 53
  • 170
  • 286
3
votes
0 answers

Unrecognised dependency notation

I have a multi-project Kotlin project in IntelliJ IDEA. It compiles and runs fine, both from the IDE and from the console. However, there's a problem with my gradle files: the IDEA complains about "Unrecognised dependency notation" as well as other…
digory doo
  • 1,978
  • 2
  • 23
  • 37
3
votes
0 answers

Multiple Projects in an MVC application

I am working on an MVC3 application at the moment. I also have a requirement to create custom membership providers for this appl. What I was hoping to do was create a separate MVC3 solution/project with the classes + controllers/views for the…
SimpleUser
  • 1,341
  • 2
  • 16
  • 36
3
votes
1 answer

How can Gradle plugin access information about included builds?

I know you can access different modules (included using include) in a project via org.gradle.api.Project#getSubprojects(), and I know you can get the name and directories of separate builds that have been included (using includeBuild) via…
Brad Mace
  • 27,194
  • 17
  • 102
  • 148