Questions tagged [multi-project]

319 questions
0
votes
1 answer

How can I add dependency on subproject programmatically in Gradle?

I have project with 20+ subprojects: war { dependencies { runtime project(':project1') runtime project(':project2') ... runtime project(':project20') } I would like to avoid duplication of project names here and in…
isobretatel
  • 3,812
  • 7
  • 34
  • 49
0
votes
1 answer

Individual distributions for Gradle multi-project

I have a number of very similar (non-Java) projects that needs to generate Zip/Tar distribution. Generally each project simply has a distributions section that copies various files/directories and assembles the archive. I would like to extract…
Bostone
  • 36,858
  • 39
  • 167
  • 227
0
votes
0 answers

Not able to display the home page in Asp.Net Angularjs webAPI

I am new in AngularJs. I have developed a small application which will conduct CRUD Operation. This is my Project Structure I am able to run my webapi successfully and retrieve the data. To call my WebApi I have created a Angular service…
0
votes
2 answers

Buck: transitive dependencies

Main project A (APK) depends on sub-project B (AAR). Both A and B depend on C (AAR). The problem is C included twice which cause: "values.xml:XXX: error: Attribute "YYY" has already been defined" How would I exclude transient dependency C from…
surlac
  • 2,961
  • 2
  • 22
  • 31
0
votes
1 answer

Gradle: Executing task in subproject programmatically

My WAR file should contain Java source files from components. In my root project build.gradle I am executing tasks in subprojects programmatically: apply plugin: 'war' jar.enabled = false war { // - Copy Java source files to the folder…
isobretatel
  • 3,812
  • 7
  • 34
  • 49
0
votes
0 answers

How to run multiple projects in one solution in vb.net

I am creating a solution that is basically a simple tool to help me with my math. In the main project, there are multiple buttons: Graphing calc., calc., and trigonometry. Each of those are its own separate project. I know how to add them to the…
0
votes
1 answer

Gradle can't find package in dependent test project

I'm trying to run ./gradlew build for a nested multi project structure and I'm running into issues that only seem to appear for projects with test source roots. Being new to both java and gradle I'm sure I'm breaking more than one convention, but I…
mrfreester
  • 1,981
  • 2
  • 17
  • 36
0
votes
1 answer

Scala play sbt multi projects at same folder level

I'm working on 2 projects in Eclipse on Windows. They're kept in their own separate folders. Their folders are located here: W:\scala\eclipse\sdtcore W:\scala\eclipse\sdttools The development effort for these two projects are ongoing and therefore…
slaursen
  • 83
  • 1
  • 3
0
votes
1 answer

Gradle multiproject management with mutually exclusive projects

Consider the following project setup: ProjectRoot |__build.gradle |__settings.gradle | |__ProjectA | |__build.gradle | |__ProjectB | |__build.gradle | |__SharedProject |__build.gradle Both projects need SharedProject as dependency. However, I…
user4918296
0
votes
0 answers

multi project java build with gradle

I've decided to use gradle instead of ant in some of my applications. the folder structure for my apps…
ItamarBe
  • 482
  • 1
  • 5
  • 12
0
votes
0 answers

How to load/include projects from submodule Build.scala

If I want to to combine two (or more) sbt projects (e.g. include one in the other) without publish-local. folder structure: /ComboProject build.sbt /project Build.scala /Project1 build.sbt /project …
cedric
  • 351
  • 4
  • 13
0
votes
1 answer

Play akka microservice as multi project

I am learning about microservices. For demonstration purposes I want to combine a frontend: play with some backend services: Akka. SBTsmulti-project` compilation should be well suited for this. However I face some problems: The main class cannot be…
Georg Heiler
  • 16,916
  • 36
  • 162
  • 292
0
votes
1 answer

Gradle multi project doesn't download dependencies

I have a multi project gradle, but in my controller module gradle doesn't seem to be downloading the spring-boot dependency (or any other what-so-ever). The root gradle build runs smoothly, no errors at all, but I can't import any of the…
Igor Donin
  • 412
  • 1
  • 8
  • 15
0
votes
1 answer

Play framework implicit application in scope

I just got started using sbt-multi projects. However I am running into problems with: Application.scala:16: You do not have an implicit Application in scope. If you want to bring the current running Application into context, just add import…
Georg Heiler
  • 16,916
  • 36
  • 162
  • 292
0
votes
1 answer

gradle Could not resolve all dependencies for configuration ':compile'

I have a dependencies problem I need help with. I can build EGLSource fin on its own. But when i try to build EGL2JS then I get this error: Error message: :compileJava FAILURE: Build failed with an exception. * What went wrong: Could not resolve…