dawiddutoit/custom-claude/gradle-spring-boot-integration
Claude Code and agent skill by dawiddutoit/custom-claude
- community
Checking that the SKILL.md file is still in the repository.
Configures Gradle with Spring Boot projects including plugin setup, bootable JAR creation, layered JARs for Docker optimization, and multi-module Spring Boot configurations. Use when asked to "set up Spring Boot with Gradle", "create executable JARs", "configure Docker layering", or "set up Spring Boot microservices".
Install
npx vskill@latest install dawiddutoit/custom-claude/gradle-spring-boot-integrationSKILL.md
Works with build.gradle.kts, application.yml, and Dockerfile configurations.
Gradle Spring Boot Integration
Table of Contents
Purpose
Set up and configure Spring Boot projects in Gradle with proper JAR creation, Docker optimization, and multi-module support. This skill covers bootable JAR setup, layered JARs for optimal Docker caching, and Spring Boot-specific task configuration.
When to Use
Use this skill when you need to:
- Set up new Spring Boot projects with Gradle
- Create executable JAR files for Spring Boot applications
- Configure layered JARs for optimized Docker builds
- Set up multi-module projects with shared libraries
- Configure Spring Boot DevTools for hot reload
- Inject build information into application.yml
- Set up Spring Boot Actuator for monitoring
- Configure testing with Spring Boot test starters
Quick Start
Minimal Spring Boot setup in build.gradle.kts:
Run and build:
Instructions
Step 1: Apply Spring Boot Plugin
Configure the Spring Boot Gradle plugin for your project type:
Key plugins:
org.springframework.boot: Creates executable JARs, provides bootRun taskio.spring.dependency-management: Automatically imports Spring Boot BOM
Step 2: Configure Java Toolchain
Specify Java version for consistency:
Step 3: Add Spring Boot Dependencies
Use the BOM automatically imported by the plugin:
Step 4: Configure Bootable JAR Creation
For services (executable JARs):
For libraries (plain JARs):
Step 5: Enable Layered JARs for Docker Optimization
Layered JARs separate dependencies by change frequency for better Docker caching:
Layers (in order):
- dependencies: Rarely-changing external dependencies
- spring-boot-loader: Spring Boot loader classes
- snapshot-dependencies: Snapshot/SNAPSHOT versions (changing)
- application: Application classes (most frequently changing)
Extract layers in Dockerfile:
Step 6: Configure Application Properties
Inject build information into application.yml:
In application.yml:
Step 7: Set Up Spring Boot DevTools for Local Development
Enable hot reload during development:
Trigger reload:
- IntelliJ: Build Project (Cmd/Ctrl + F9)
- Eclipse: Save file
- CLI: Run
./gradlew compileJavain separate terminal
Step 8: Configure Actuator for Monitoring
Add actuator endpoints and metrics:
In application.yml:
Examples
Example 1: Simple Web Service
Build and run:
For advanced examples including multi-module setups, layered JARs with Docker, build info injection, and testing configurations, see examples/advanced-examples.md.
Commands Reference
See references/commands-and-troubleshooting.md for complete command reference and troubleshooting guide.
See Also
- gradle-dependency-management - Manage Spring Boot BOMs and versions
- gradle-docker-jib - Build Docker images with Jib
- gradle-testing-setup - Configure Spring Boot testing
- Spring Boot Gradle Plugin Documentation
- Spring Boot Reference Guide
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/gradle-spring-boot-integration/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 3
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 11 May 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dawiddutoit/custom-claude/gradle-spring-boot-integration)