Gradle Could not find method compile()
-
[IntelliJ] Gradle Could not find method compile() 해결 방법IT/SpringBoot&AWS 2022. 5. 10. 13:29
참고도서: 스프링 부트와 AWS로 혼자 구현하는 웹 서비스 도서에서 인텔리제이 기반으로 gradle 프로젝트 생성을 안내하고 있는데, 샘플 코드대로 작업했으나 오류가 발생하더라.. buildscript { // ext : build.gradle에서 사용하는 전역변수를 설정하겠다. // 여기서는 springBootVersion 전역변수를 생성하고 그 값을 '2.1.7.RELEASE' 로 하겠다는 의미. ext { springBootVersion = '2.1.9.RELEASE' } repositories { mavenCentral() jcenter() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:${springB..