Questions tagged [gradle-multi-project-build]
39 questions
0
votes
2 answers
Gradle precompiled script plugin: External Quarkus plugin dependency not found
Background
I am currently developing a gradle multi-project with multiple quarkus microservices. In order to bundle my quarkus dependencies I use a precompile script plugin with kotlin-dsl. Given the configuration below, executing quarkusBuild works…

code_name
- 73
- 8
0
votes
0 answers
Publishing gradle sub-project artifacts using a commons project
Consider the following project structure:
app
|_subprojA
| |_build.gradle
|_subprojB
| |_build.gradle
|_settings.gradle
settings.gradle
include 'subprojA'
include 'subprojB'
build.gradle (subprojA)
...
dependencies {
...
}
build.gradle…

6harat
- 542
- 6
- 18
0
votes
1 answer
How to reference other classesdir in Gradle multi-project build
I am building an API using spring boot. I'm using gradle and a multi-project build set up where I have a services-lib project and an api project that depends on the services-lib.
Running the api:bootRun tasks in the api project works perfectly fine,…

Phil
- 1
- 2
0
votes
0 answers
Gradle: Multi-Project Build with project dependent property
I'm currently trying to create a multi project build with gradle which should produce multiple ear files. All ear files are using a shared ejb project which bundles an ejb-jar.xml deployment descriptor. This deployment descriptor should contain an…

MonsieurVader
- 1
- 1
0
votes
1 answer
How to ship a Spring Boot app from a Gradle Multi Build project?
Let's say I have a Gradle Multi Project with 3 subprojects, 2 Spring Boot projects (auth and profile) and 1 Library project (commons).
The 2 Spring Boot projects include a dependency on the Library project: implementation…

acmoune
- 2,981
- 3
- 24
- 41
0
votes
1 answer
VSCode, Spring boot, Gradle, Make Multi-Project, How to solve initializationError?
All.
I need to use the VSCode to make project. And I'm not good at making java project with VSCode.
I try to make multi-project with spring boot with gradle.(Image: Project outline)
Tell me What I need to do to solve the problem and I will attach…

Changjoo Sohn
- 53
- 1
- 4
0
votes
0 answers
Gradle sub-modules could not be found
I've the following gradle project structure:
SUPER/
|______A/
| |______A1/
| | |______build.gradle
| |______A2/
| | |______build.gradle
| |______build.gradle
| |______settings.gradle
|
|______B/
| …

EchtFettigerKeks
- 1,692
- 1
- 18
- 33
0
votes
1 answer
gradle multi project build override dependencies in child
In a gradle multi project build:
root << applies: dependency{ 'org:module:version1' }
|- foo (version1) is ok here
|- bar (version1) not ok here, I need to use version 2
Is there a way to achieve this behaviour?

Georg Heiler
- 16,916
- 36
- 162
- 292
-1
votes
1 answer
How to create a multi-build gradle project with interdependent spring boot projects and jars
Background
I wrote a spring boot project using gradle and it works fine.
I would like to split up the project into libraries (jars) so that I can reuse them.
These are the requirements
Each of the projects are in sibling folders, each containing…

David Sackstein
- 500
- 1
- 5
- 19