update Application template to use GrailsApp and GrailsWebConfiguration
update Application template to use GrailsApp and GrailsWebConfiguration
package @grails.codegen.defaultPackage@

import grails.boot.GrailsApp
import grails.boot.config.GrailsWebConfiguration
import org.springframework.boot.autoconfigure.EnableAutoConfiguration

@EnableAutoConfiguration
class Application extends GrailsWebConfiguration {
    static void main(String[] args) {
        GrailsApp.run(Application)
    }
}
package @grails.codegen.defaultPackage@

import grails.boot.config.GrailsConfiguration
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.EnableAutoConfiguration

@EnableAutoConfiguration
class Application extends GrailsConfiguration {
    static void main(String[] args) {
        SpringApplication.run(Application)
    }
}