dependencies {
compile('org.springframework.boot:spring-boot-starter-web')
testcompile("org.springframework.security:spring-security-test")
}
Could not find method compile() for arguments [org.springframework.boot:spring-boot-starter-web] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Gradle 7.0
이후로는 compile
, runtime
, testCompile
, testRuntime
명령이 각각 implementation
, runtimeOnly
, testImplementation
, testRuntimeOnly
로 대체되었다.
dependencies {
implementation('org.springframework.boot:spring-boot-starter-web')
testImplementation("org.springframework.security:spring-security-test")
}