Questions tagged [subproject]

Use this tag for questions related to a subproject, i.e. a project within a larger project.

is used in questions related to the configuration of a subproject (i.e. a project within a larger project.) in Maven, Xcode, Gradle, etc. .

159 questions
1
vote
1 answer

how to specify version of dependency in meson build?

I have two projects in C++, both using meson build. One is a subproject of the other: noise-status is a dependency of noise-service I'm importing the noise-status subproject with a wrap-file: [wrap-git] url =…
hao123
  • 381
  • 2
  • 6
  • 21
1
vote
0 answers

How do I set up a gradle Java project with shared inter-dependencies?

I have a Java project consisting of the following parts: a Java library with production code integration tests for that library an demo Java application using that library The integration tests and the demo application share some code, as there…
das-g
  • 9,718
  • 4
  • 38
  • 80
1
vote
0 answers

How a task can depend on a subproject compile without executing root project compilation?

I have what seems to me like a very counter-intuitive dependency setup. I'm trying to author a gradle task that depends on the compilation of a (parallel) subproject. The problem is that when I execute the task it tries to compile the root project…
xaviersjs
  • 1,579
  • 1
  • 15
  • 25
1
vote
1 answer

Angular Universal combined multiple applications

I have a project in Angular Universal(Combined multiple applications) which contain subproject. After server side rendering my subprojects everything works clear, except of which came form general module, but I want for every…
Vahe Galstyan
  • 1,681
  • 1
  • 12
  • 25
1
vote
1 answer

How to get the list of subprojects dynamically in sbt 0.13

How can I programmatically (in build.sbt) find all the subprojects of the current root project in sbt 0.13? (I have not tried Project.componentProjects yet, because it's new in sbt 1.0). lazy val root = (project in file(".") ... ) val myTask =…
radumanolescu
  • 4,059
  • 2
  • 31
  • 44
1
vote
2 answers

Gradle: configure sub-project (module) from parent build script

I split my project onto modules/sub-projects following this guide: https://docs.gradle.org/current/userguide/multi_project_builds.html In the main script build.gradle i apply the configuration for the sub-projects: subprojects { repositories { …
radistao
  • 14,889
  • 11
  • 66
  • 92
1
vote
1 answer

Depend native build in subrpoject on progurad in root project

Using Android gradle plugin of version 3.0.1. I have the application module :app and the library module :lib included in :app module: implementation(project(':lib')). Module :lib has native code. So, it has :lib:externalNativeBuildRelease task. I…
fastholf
  • 11
  • 3
1
vote
1 answer

swagger-play2 is not able to find its ApiHelpController package path within subproject

I am trying to add swagger to one of my sub-projects. I have added the "ApiHelpController" as below subproject routes file GET /swagger.json controllers.ApiHelpController.getResources subproject conf file play.modules.enabled +=…
flare
  • 344
  • 2
  • 6
1
vote
1 answer

A Swift project inside another Swift project. add import module of the sub project

I have added Project B into Project A as sub project. Directly drag and dropped to the Project A. I have some classes in Project B like Class X, Class Y. I need to access these Project B classes Class X, Y in project A. When I directly use the…
bharath gangupalli
  • 550
  • 1
  • 7
  • 23
1
vote
1 answer

Gradle project, sub projects executed repeatedly

I have a project with sub projects. The layout: rootproj --subproj1 ----mybuild.number --subproj2 --build.gradle --gradle.properties --settings.gradle mybuild.number #Build Number for ANT. Do not edit! #Wed Nov 210 2121:210:2121 PST…
Heinz
  • 913
  • 4
  • 12
  • 22
1
vote
0 answers

Running SBT from a sub-project directory

I have a cd alias for project so it's possible to start sbt then cd into a sub-project and do whatever. Is it possible to complement this somehow so that if sbt is started from some foo sub-project directory then it's as if I ran cd ..; sbt…
Eli Barzilay
  • 29,301
  • 3
  • 67
  • 110
1
vote
0 answers

Git Subproject / Gitlink / Submodule - Remove and Keep files, commit with Master

I am creating a repo to save a wordpress starter package for client websites using FoundationPress as the starter theme. I cloned the repo into my themes folder, and it is not committing files into my master repo, is this a gitlink or submodule? I…
stillfire
  • 209
  • 3
  • 8
1
vote
1 answer

How to merge web.configs for ASP.NET MVC and plain ASP.NET app

Merging the web.config files of a legacy ASP.NET App and a new MVC app has pretty much defeated me. Is there a way I can build my solutions with projects sectioned off into subfolders? EG (each project to have its own web.config): …
awrigley
  • 13,481
  • 10
  • 83
  • 129
1
vote
1 answer

Gradle add function to subproject (best practice)

This is a question that has multiple parts. Gradle seems to have 2 ways to define a function Type one: def func1 = { param -> ...} Type 2 def func2 (OptionalType param){...} I prefer to use Type 2 not only because I don't know how to define the…
Daan Luttik
  • 2,781
  • 2
  • 24
  • 37
1
vote
0 answers

Setting up a customized gradle project with subprojects

I am new to gradle. I want to setup a multi-module project environment with the following properties: The main project is called 'webapp' which has two subprojects 'webapp-client' and 'webapp-server' where client is javascript-based project and…
rabolfazl
  • 435
  • 1
  • 8
  • 24