Hi everyone, when Spring Boot is used in a non-mul...
# multiplatform
g
Hi everyone, when Spring Boot is used in a non-multiplatform Gradle project it sets the
spring-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?
Copy code
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")
	}
	...
}