dependencies { implementation 'org.springframework.boot:spring-boot-starter-web' } bootRun { main = 'com.mycompany.MyApplication' }