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
0
votes
1 answer

gradle subproject dependencies as list of other subprojects

How can I get list of a subproject dependecies as list of Project object? subproject.dependencies gives list of DependencyHandler objects. And I can't find how extract Project from DependencyHandler.
Alexey
  • 2,980
  • 4
  • 30
  • 53
0
votes
1 answer

Modules, Gradle Subprojects, and IntelliJ Woes?

I am trying to make use of modules and gradle subprojects and either receive compile time errors or complaints from IntelliJ. My project structure is as follows: Root - settings.gradle - core - build.gradle - desktop - build.gradle -…
0
votes
1 answer

How do you extract Gradle subprojects into standalone libraries?

In one of my coding projects, I created an extensive utility API as a Gradle subproject. Now, I've realized that the code I've written is really powerful, and I want to extract it into a standalone Gradle project that can be uploaded to Maven. How…
Sam54123
  • 13
  • 1
  • 2
0
votes
1 answer

Why does the Java compiler not find dependency modules in Gradle subprojects?

Exactly what the title says. For the record, I am using OpenJDK 15.0.1 and Gradle 6.7. I am trying to run code in a subproject with dependencies. When I try, I get a compiler error like so: > Task :browser-core:compileJava FAILED 1 actionable task:…
itzjackyscode
  • 970
  • 9
  • 27
0
votes
1 answer

Meson can't find cmake subdirectory

In one of my meson.build files, I have code that I need to generate a dependency for spdlog. libspd = cmake.subproject('spdlog') spd_dep = libspd.dependency('spd_dep') The meson.build in question resides in a directory called vendor, and the spdlog…
0
votes
2 answers

Sbt nested dependsOn

I have a root project that depends on a subproject1. And subproject1 depends on subproject2. Does that imply that I Can use subproject2's source code directly in root? lazy val root = Project(id = "root", base = file(".")).dependsOn(sub1) lazy…
Helix112
  • 305
  • 3
  • 12
0
votes
1 answer

Cmake: target defined in a subdirectory doesnt link. I get undefined reference

I'm not an experimented CMake user, I'm currently trying to include an existing project to a top project and the CMakelists.txt of the top level project is very simple: cmake_minimum_required(VERSION 2.8) project(A) add_subdirectory(B) As a mater…
0
votes
1 answer

How to configure gradle to resolve dependencies

i am trying to move my MAVEN build to a gradle therefore i need to solve the following: project: application (this one shall create a fatjar) plugins (shall result in single jar files, but no fat jars!) utils (requires: jarX, jarY, jarZ) data…
lumo
  • 790
  • 1
  • 8
  • 23
0
votes
1 answer

run checkstyles in subprojects before all tests in all subprojects

I have gradle project with 4 subprojects. I have current root gradle.build with checkstyle: allprojects { apply plugin: "checkstyle" checkstyle { ... } } so when I run ./gradlew build in the main folder, I get next: checkstyle for 1st…
0
votes
1 answer

Gradle subproject dependency is not resolvable by project that needs it

I have the following project strucuture: example ├── build.gradle ├── module1 │   ├── build.gradle │   └── main │   ├── java │   │   ├── module-info.java │   │   └── com.example.module1 │   │   └── Example.java │   └──…
smac89
  • 39,374
  • 15
  • 132
  • 179
0
votes
0 answers

Framework not found error when using Cocoapods in a framework inside parent project

I have a MyApp.xcodeworkspace that uses a homegrown MyAppKit iOS framework. MyAppKit is included as xcodeproject inside the parent MyApp project. When I include Firebases and Google Tag Manager via Cocoapods in MyAppKit framework and compile the…
Tas
  • 81
  • 1
  • 4
0
votes
0 answers

Java Validation API in sub-projects

I couldn't find anything that helped so im asking: I have two projects. Project A is the base project that defines basic stuff. Project B is a sub-project of Project A and extends its functionality (Project A should work like a framework and there…
Reborok
  • 25
  • 6
0
votes
1 answer

How can i stop one and play another file in these dashboard?

I need one help in my code what should i do to close test 1 when i click on test 2 to start it again when click on stop. i have declared two video in two button in my code in Test 1,Test 2 when i click test1 it plays it when i click on 2nd it do…
0
votes
0 answers

Git + Bitbucket - Include code from a subproject within the main project

I'm using Bitbucket and SourceTree for version control and I have created a subproject within my main project. The subproject is useful because I can have teams work on just the subproject (in this case client-side code) while hosting everything…
Leon
  • 1,851
  • 3
  • 21
  • 44
0
votes
0 answers

Best practice git Module

In our git project we have one submodule. This submodule is configured in submodules file with a specific branch. So if we init or update the submodule, we always use the --remote Option. But now, every time we update the submodule, there are…