Utilities enabling programmatic checks on Spring profiles.
This library introduces the SpringProfileUtils
class which comes with utility methods on Spring profiles such as
isProfileActive
and areProfilesActive
.
Import this library into your project via maven using the following snippets in your pom.xml
:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.Thibstars</groupId>
<artifactId>spring-profile-utils</artifactId>
<version>currentVersion</version>
</dependency>