Gradle 과 Java 선택
프로젝트 그룹명과 아티팩트명 등록
그레이들 기반의 자바 프로젝트 생성완료
build.gradle 파일
이상태임
buildscript {
ext{
springBootVersion = "2.1.7.RELEASE"
}
repositories{
mavenCentral()
jcenter()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
group 'com.projectex'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-web')
testCompile('org.springframework.boot:spring-boot-starter-test')
}
다음과 같이 작성 후
Load Gradle Changes 클릭!
BUILD SUCCESSFUL
이라고 뜨면 성공!
인텔리제이 스프링 개발환경 구축완료
[Spring Boot] 프로젝트 생성하기 (0) | 2020.07.26 |
---|