Skip to content

Instantly share code, notes, and snippets.

@billydh
Created January 16, 2020 02:37
Show Gist options
  • Select an option

  • Save billydh/d16434a7a692f33c251dd270d8024fe4 to your computer and use it in GitHub Desktop.

Select an option

Save billydh/d16434a7a692f33c251dd270d8024fe4 to your computer and use it in GitHub Desktop.
DynamodemoApplication with ConfigurationPropertiesScan
package io.codebrews.dynamodemo
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.context.properties.ConfigurationPropertiesScan
import org.springframework.boot.runApplication
@SpringBootApplication
@ConfigurationPropertiesScan
class DynamodemoApplication
fun main(args: Array<String>) {
runApplication<DynamodemoApplication>(*args)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment