spring-boot-gradle-plugin Questions
5
Solved
I have the following setup:
Gradle: 8.5
Spring Boot 3.3.0
Kotlin: 1.9.23
Before I used Spring Boot 3.2.6, and after update to the latest version I encounter the following error when running bootJa...
Infernal asked 18/6 at 16:44
2
Solved
My Spring Boot application runs in Docker and is build by gradlew bootBuildImage.
When run in Docker container application cannot load fonts
Caused by: java.lang.NullPointerException
at java.deskt...
Cary asked 2/11, 2021 at 16:46
6
I tried to copy the Spring Boot Kotlin sample project https://github.com/JetBrains/kotlin-examples/tree/master/tutorials/spring-boot-restful. I Added some more dependencies and when I tried to buil...
Episodic asked 3/4, 2018 at 6:1
5
Solved
I'm trying to use version 3.0.0 of the spring boot Gradle plugin. Here's my build.gradle.kts file:
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.springframework.bo...
Thrawn asked 22/12, 2022 at 15:2
2
I've got a Gradle project with Spring Boot plugin and am trying to publish the image built by the plugin: gradle bootBuildImage --publishImage
The problem is to publish "either token or userna...
Ligialignaloes asked 16/12, 2020 at 9:28
2
I have updated my project to use springboot 2.3.0 and trying to build docker image using the default springboot gradle task bootBuildImage.
The project is a simple rest project broken into two pa...
Scrooge asked 25/5, 2020 at 4:21
1
Solved
I have build.gradle like this and it works :
plugins {
id 'org.springframework.boot' version '2.5.8' apply false
...
}
...
springBoot {
mainClassName = 'com.mir3.service.contactfileparser.Main'...
Torpor asked 20/1, 2022 at 17:56
3
Solved
Previously in Spring Boot 1.x, I wrote a Gradle task to copy the jar's build version to the application's application.yml and replaced a given property by regex, e.g. info.build.version: 0.0.1
Mig...
Dog asked 10/4, 2018 at 8:23
1
I have Spring Boot application which listen IBM MQ Queue via @JmsListener annotation as below from component class. The MQ properties (hostname, channel, port, etc) are set from yaml file.
@JmsLi...
Soybean asked 11/7, 2018 at 13:50
6
Solved
I have a sample project with the following hierearhy:
Sample (root)
-- model (simple jar)
-- api (springboot jar)
I want to publish both generated jars: plain jar & bootJar to my localRepo...
Bartolommeo asked 13/4, 2020 at 22:44
1
Solved
I upgraded my spring boot app to 2.5.0, then is app.jar and app-plain.jar is created by gradle.
I would like to the difference between these jars.
thanks
Velasquez asked 11/6, 2021 at 10:6
3
Solved
Recently I tried to update my Spring Boot application version from 1.5.10.RELEASE to 2.0.0.RELEASE
Project Environment
JDK version 1.8
jcenter() repository in Gradle
IDE Spring tool Suite (STS...
Ragnar asked 12/3, 2018 at 18:53
4
I have a Gradle project which uses Spring's dependency management plugin to define a list of dependency versions. I am also using the Maven plugin to deploy the project to a Maven repository.
I wo...
Crackbrained asked 12/4, 2017 at 16:9
8
Solved
I am using Spring Boot 2 in my Gradle project to do a build to jar in Jenkins, and I would like to change the name of that jar file.
By default, Spring Boot 2 used the Gradle property rootProject....
Gasper asked 2/11, 2018 at 17:8
1
Solved
gradle 6.x release notes tells us that maven-publishing of boot-jars doesn't work because the default jar task is disabled by the spring-boot plugin.
A workaround is to tell Gradle what to upload....
Urion asked 25/2, 2020 at 18:58
3
Solved
I'm trying to achieve a simple scenario in my spring boot project build: including / excluding dependencies and packaging war or jar depending on the environment.
So for example, for the environm...
Fraudulent asked 17/11, 2016 at 16:22
5
How do I configure Spring Boot Gradle plugin 2 to disable the Boot distribution in Gradle Script Kotlin.
The distribution i want is a assembly bundle zip with all dependencies (and the jar) in the...
Raker asked 18/3, 2018 at 21:10
2
Solved
I have roughly the following setup:
test-utils/build.gradle:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:1.3.1.RELEA...
Underwing asked 28/1, 2016 at 7:37
2
I am fairly new to cucumber-jvm world. Trying to package cucumber spring boot app as Jar. app runs fine from Eclipse. But when I package as executable jar it fails with Exception :
Exception in Ma...
Allodium asked 10/5, 2018 at 0:46
2
How to setup proguard obfuscation with spring boot 2 and gradle build?
Hello. Trying to setup code obfuscation of Spring Boot app with its gradle plugin and Proguard gradle plugin. Google mostly g...
Dysphemism asked 18/10, 2018 at 13:56
3
Solved
I'm using Gradle with Spring Boot 2.0.0.M7 and have the following plugins applied:
buildscript {
repositories {
maven { url "https://plugins.gradle.org/m2/" }
maven { url "https://repo.spring.i...
Sinking asked 7/1, 2018 at 0:5
1
I have spring boot application packaged as executable jar. Application has one utility class with main method which I want to invoke through command line but it seems that command is unable to find...
Brunet asked 16/5, 2018 at 9:52
2
I have a standard spring-boot project with org.springframework.boot:spring-boot-gradle-plugin. i know i can override dependency version with e.g.
ext['slf4j.version'] = '1.7.5'
but how can i ge...
Crosseyed asked 16/2, 2017 at 16:53
1
Solved
What does a correct Gradle configuration look like in a multi-module project that uses the Gradle plugins spring-boot-dependencies and spring-boot?
I have the following project setup:
parent
|
...
Transit asked 14/11, 2015 at 9:26
1
© 2022 - 2024 — McMap. All rights reserved.