gbaldeck
02/12/2020, 9:05 PMspring-boot-devtools
import as developmentOnly
when defining it in dependencies. When I try to set this up with a multiplatform project it doesn't recognize the developmentOnly
declaration and I'm not sure how to get it to. It does the same for testImplementation
and spring-boot-starter-test
. How have you all set these up in your multiplatform projects?
dependencies {
...
//Doesn't recognize development only
developmentOnly("org.springframework.boot:spring-boot-devtools")
//Doesn't recognize test implementation
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude(group = "org.junit.vintage", module = "junit-vintage-engine")
}
...
}