Eric
05/05/2023, 9:24 PMignoreFunction
for SpreadOperator
here instead of using the annotation?
package com.example.demo
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.scheduling.annotation.EnableAsync
@EnableAsync
@SpringBootApplication
class DemoApplication
fun main(args: Array<String>) {
@Suppress("SpreadOperator")
runApplication<DemoApplication>(*args)
}
Brais Gabin
05/06/2023, 4:55 PMcom.example.demo.main
should work.