spring-boot/spring-boot-samples/spring-boot-sample-simple
Phillip Webb a97bcfe3cd Automatically detect 'development' profile
Detect when an application is running in development (by the presence
of a build file) and automatically add a 'development' profile.

Additional detectors can be developed by implementing the
`ProfileDetector` interface and registering with the `SpringApplication`

Fixes gh-296
2014-01-31 22:51:31 -08:00
..
src Automatically detect 'development' profile 2014-01-31 22:51:31 -08:00
build.gradle Add support for reloading resources in Gradle plugin 2014-01-15 11:26:33 +00:00
pom.xml Upgrade version to 1.0.0.BUILD-SNAPSHOT 2014-01-21 00:43:54 -08:00
README.md Add build.gradle samples and rename runJar->bootRun 2013-12-10 11:10:04 +00:00

Spring Boot Simple Sample

You can build this sample using Maven (>3) or Gradle (1.6).

With Maven:

$ mvn package
$ java -jar target/*.jar

The app prints a Hello message on the console.

With gradle:

$ gradle build
$ java -jar build/libs/*.jar