The Spring Boot Gradle Plugin provides Spring Boot support in Gradle, allowing you to package executable jar or war archives, run Spring Boot applications and use the dependency management provided by spring-boot-dependencies.
Questions tagged [spring-boot-gradle-plugin]
206 questions
0
votes
2 answers
Disable Spring cloud server in spring boot 2.0.0
For one of our customer, who is using Spring Boot version 2.0.0 Release, we have Spring cloud config server with native settings. For local development, we want to disable spring cloud config server so that other spring boot micro-services can use…

Dhruv Patil
- 5
- 3
0
votes
2 answers
RSocket dependency issue using Gradle6.3 with Spring boot 2.2..6.Release in Apache Archiva
My issue is similar to https://github.com/spring-projects/spring-boot/issues/20348 but still, I am not able to find the appropriate solution.
I am using apache archiva2.2.5, Gradle 6.3, and Spring boot 2.2.6.Release.
When I try to build the project,…

Xerxis
- 191
- 1
- 9
0
votes
0 answers
How to execute shell script command inside the java application which is converted into docker image?
I have written shell scripts inside the springboot application which perform invoke and query functionality in blockchain network (hyperledger fabric). I am executing the script by the following way,
ProcessBuilder processBuilder1 = new…

Manju v
- 1
0
votes
1 answer
Passing the ArchiveName to UploadArchives in gradle
Having migrated from Spring Boot 1.5.19 to Spring Boot 2.0.4, we are encountering problems with the build on jenkins. Using gradle 4.2.1. We think the behavioural changes in the spring boot gradle plugin between the versions is causing our…

vandekerkoff
- 415
- 8
- 24
0
votes
0 answers
ClassNotFoundException jackson.core.JsonFactory
Hi all,
I was trying to write files to my Google Drive. But when I run my app it says
Exception in thread "main" java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/JsonFactory
at…

Hector
- 45
- 7
0
votes
1 answer
Create single WireMockServer object with single port
I am very new to Wire mock and gradle. I am planning to setup by using single WireMockServer object with using 8081 port and its configurable in gradle task.
build.gradle
plugins {
id 'org.springframework.boot' version '2.2.6.RELEASE'
id…

amarbogari
- 21
- 3
0
votes
1 answer
How Gradle BOM import support resolve dependency version added in plugin dynamically?
I use Spring Boot and Spring Boot Dependency Management Plugin which helps me use dependencies from Spring Boot BOM. However, Gradle support for BOM import since version 5.0. I made a decision to migrate to Gradle built-in BOM import support. But I…

wakedeer
- 493
- 5
- 14
0
votes
0 answers
Repositories in gradle project were not indexed
I'm trying to synchronize a gradle project with some dependences to Spring Boot and Maven, but there is an error that indicates the following repositories used in the project are not indexed yet:
Unindexed remote maven repositories found.
The…

TimeToCode
- 901
- 2
- 16
- 34
0
votes
1 answer
I am trying to load a jsp using spring boot with gradle but I am only getting internal server error
I am new to spring boot and trying to load a jsp page but even after trying a lot and searching on internet I couldn't find any solution of it. I am unable to get the error causing part in this complete process.
To build this all I used command…

ambarish dashora
- 3
- 3
0
votes
0 answers
Why subproject dependency jar includes all dependencies in it?
My project consists of multiple modules like core, my-backend, university, learning, etc.
Core is module which is required in all rest modules.
When I create build of my-backend module, I see core is being added with all dependencies in it which is…

Mayank Rupareliya
- 101
- 2
- 7
0
votes
0 answers
Gradle control transitive from dependency build.gradle
I'm not sure if this is feasible, but wanted to get some comments/solution for the problem.
I'm creating a new dependency com.example:app-dep:1.0.1 will be used in com.example:app as compile dependency.
app-dep having a dependency…

Pasupathi Rajamanickam
- 1,982
- 1
- 24
- 48
0
votes
1 answer
creating spring boot gradle mutli project
I am new to gradle.I am trying to create spring boot gradle mutli project in STS,but I didn't understand how to create.I am able to create single project.
So help me how to create multi project.
Root proect:nn-backend
build.gradle:
plugins {
…

nithin
- 371
- 9
- 24
0
votes
0 answers
What are the requirements for gradle.kts generated by spring initializr?
I modified the build.gradle file of the newly created gradle project named build.gradle.kts, and then copied the build.gradle.kts content of the demo project generated by spring initializr, and then build, this file reported a lot of errors, but…

gelong
- 1
- 2
0
votes
3 answers
For Gradle Plugin (non core plugin), how to decide the version for each of them?
I begin to use Gradle to build my Spring boot project. I want to use the new plugin block format.
May I know how to find out these correct version of each (non core) plugin.
To build a spring boot project, I need to use below 2 plugin:
…

Joseph Cen
- 73
- 6
0
votes
1 answer
How can I get application version and some other info from gradle using Spring Boot?
Can you explain me how can i get application version and some otger info from my Spring Boot application ?
I'm using gradle project builder.
I think it will be cool, if I would can get application version from build.gradle file (for example)
version…

Kirill Sereda
- 469
- 1
- 10
- 25