Questions tagged [multi-module]

A multi-module project/application is composed by several modules each focusing on a certain concern, enforcing the SRP (Single Responsibility Principle) at module level.

A multi-module project/application is composed by several modules each focusing on a certain concern, enforcing the SRP (Single Responsibility Principle) at module level.

In , a multi-module project is handled via aggregation of an aggregator project providing list of aggregated modules.

Often, but not necessarily, the aggregator project is also the parent project of aggregated modules, providing further governance and common management on - for example - plugins, dependencies, properties.

More Info

886 questions
3
votes
1 answer

Multimodular Android App: Unable to access Strings from another module

I am trying to modularize my application and I have a shared module where I put my shared resources and strings. In my module I have a dependency to the shared module as following: implementation(project(Modules.shared)) Let's say I am working in…
3
votes
1 answer

Vaadin Maven Multimodule application with vaadin 23

Is there any maven archetype for vaadin 23 multimodule application like we have for vaadin 8 or any online way to create vaadin maven multimodule web app.
tushar sharma
  • 105
  • 2
  • 10
3
votes
2 answers

With Gradle, how best to publish a multi-module project to an additional repository as a specific version?

I have this multi-module project structure proj ├── subprojA └── subprojB [depends on subprojA] Both subprojects are producing a java jar each. I want to do an extra publishing step where the 2 subproject jars would be given version "1.0.0-dev"…
haelix
  • 4,245
  • 4
  • 34
  • 56
3
votes
1 answer

Multi-module JavaFX maven project packaging issue

This is an attempt to create a multi-module JavaFX application with maven. Given the following structure of the project: project | pom1.xml |_____ Word Generator (Folder) | pom2.xml |_____logic (folder) | …
3
votes
1 answer

multi module gradle project - grouping sub-projects under a parent

I have been trying to create a multimodule gradle project, I have referred to these link apart from a few…
neeraj
  • 1,191
  • 4
  • 19
  • 47
3
votes
1 answer

Can we read command line arguments in settings.gradle?

I want to read command line arguments in settings.gradle so that i can add only those submodules in include what i am passing command line. Can we read command line arguments in settings.gradle?
Sanjay Naik
  • 264
  • 1
  • 4
  • 23
3
votes
1 answer

Jar built from Gradle multi-module project with Spring Boot doesn't work

I created spring-boot gradle multi-module project which consisted of 3 modules: controller, service, repository. Main file was situated in Controller-module and named MySpringBootApplication. I could build this project (using gradle build) and could…
Yana
  • 33
  • 1
  • 4
3
votes
1 answer

Why are jackson library dependencies missing when used in sub project using gradle?

I have a gradle project P which has module A and B. Module A has this jackson dependencies: ... dependencies { ... compile 'com.fasterxml.jackson.core:jackson-core:2.12.0-rc1' compile…
transgressoft
  • 155
  • 2
  • 13
3
votes
1 answer

Maven multimodule project tries to download inner dependency from repository

I have a classical multimodule project with cross dependency parent pom: mod1 mod2 ... grp
kan
  • 28,279
  • 7
  • 71
  • 101
3
votes
2 answers

Error resolving dependency for maven multi module project

I have set up a multi module maven project with two modules, dw-web and dw-test. Parent - dw-web - dw-test The parent pom: 4.0.0 com.dw dw-parent
MayBee
  • 87
  • 6
3
votes
0 answers

Using Dagger2 DispatchingAndroidInjector in multi module project

I've an issue when using Dagger in multi module project. Let's say we have three modules. core newfeaturesmodule -> api project(":core") oldfeaturesmodule -> api project(":newfeaturesmodule") Application classes has same hierarchy either. The…
3
votes
1 answer

Unit test in multi-module spring boot project

I have multi-module project with similar structure as below: server (which includes Application Context Configuration) and other configurations shared (Utility classes used by other modules) service (module with various repository and…
3
votes
0 answers

dagger.internal.codegen.ComponentProcessor was unable to process this interface because not all of its dependencies could be resolved

I've been trying to setup dagger in a multimodule project. My setup is the following: @Singleton @Component(modules = [AndroidSupportInjectionModule::class, NetworkModule::class, MovieListActivityModule::class,…
Tushar Saha
  • 63
  • 2
  • 10
3
votes
0 answers

How to limit the repositories of a specific module in a multi-module Android project

I want to specify specific repositories only for specific modules I try above code. allprojects { repositories { google() jcenter() maven { url "https://jitpack.io" } } } project(':specific_module') { …
maru
  • 31
  • 1
3
votes
0 answers

Convert single-module gradle project to multi-module

With the spring boot-based GRADLE project which i generate using the spring initializer, how do i turn this single-module project into multi-module? Any good tutorial to demonstrate this.
Nick Wills
  • 800
  • 2
  • 10
  • 26