Skip to content

Commit

Permalink
Fix auto configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Thibault Helsmoortel committed Nov 18, 2019
1 parent df60b31 commit 0c8b2e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
<artifactId>spring-boot</artifactId>
<version>${spring.boot.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
<version>${spring.boot.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

import com.github.thibstars.profiles.SpringProfileUtils;
import lombok.AllArgsConstructor;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.env.Environment;
Expand All @@ -31,6 +32,7 @@
* @author Thibault Helsmoortel
*/
@Configuration
@ConditionalOnClass(SpringProfileUtils.class)
@AllArgsConstructor
public class SpringProfileUtilsAutoConfiguration {

Expand Down

0 comments on commit 0c8b2e0

Please sign in to comment.