https://github.com/toolisticon/spring-boot-support
Provides useful Spring Boot Support utilities.
https://github.com/toolisticon/spring-boot-support
spring-boot
Last synced: 27 days ago
JSON representation
Provides useful Spring Boot Support utilities.
- Host: GitHub
- URL: https://github.com/toolisticon/spring-boot-support
- Owner: toolisticon
- License: apache-2.0
- Created: 2025-02-26T16:40:25.000Z (over 1 year ago)
- Default Branch: develop
- Last Pushed: 2026-03-21T09:11:47.000Z (3 months ago)
- Last Synced: 2026-03-22T01:00:20.823Z (3 months ago)
- Topics: spring-boot
- Language: Kotlin
- Homepage:
- Size: 108 KB
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spring-Boot Support
A collection of Spring-Boot supporting tools.
[](https://github.com/holisticon#open-source-lifecycle)
[](https://github.com/toolisticon/spring-conditions/actions)
[](https://holisticon.de/)
[](https://maven-badges.herokuapp.com/maven-central/io.toolisticon.spring/spring-conditions)
## Import
Import the BOM into your Maven project.
```xml
io.toolisticon.spring
spring-boot-bom
1.0.1
import
pom
```
## Spring-Boot Conditions
Provides useful Spring-Boot conditions.
### Supported conditions
- `@ConditionalOnMissingQualifiedBean`
### Usage
```xml
io.toolisticon.spring
spring-boot-conditions
```
## YAML property source factory
Allows to define default properties as part of the starter using supplied YAML file.
### Usage
```xml
io.toolisticon.spring
spring-boot-properties
```
Define properties
```kotlin
@ConfigurationProperties("myprops")
data class MyProperties(
val foo: String,
val zee: Int,
val baz: Boolean
)
```
Define configuration:
```kotlin
@EnableConfigurationProperties(MyProperties::class)
@PropertySource(
name = "myDefaultProperties",
value = ["classpath:/application-my-default.yaml"],
factory = YamlPropertySourceFactory::class
)
class MyConfiguration
```
Put a `application-my-default.yaml` into `src/main/resources`:
```yaml
myprops:
foo: "bar"
zee: 42
baz: true
```
# License
This library is published under the Apache 2.0 license.