Skip to content

Commit 43cc9c0

Browse files
committed
Support gradle
1 parent 049dec4 commit 43cc9c0

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
*.class
22
target/*
3+
build/
4+
.gradle/
35
.project
46
.classpath
57
.settings/

build.gradle

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
apply plugin: 'java'
2+
apply plugin: 'maven'
3+
4+
group = 'io.spring.demo'
5+
version = '2.1.0-RELEASE'
6+
7+
description = """Demo application for Spring Exception Handling Blog"""
8+
9+
sourceCompatibility = 1.5
10+
targetCompatibility = 1.5
11+
12+
repositories {
13+
//maven { url "https://repo.spring.io/libs-milestone" }
14+
maven { url "http://repo.maven.apache.org/maven2" }
15+
}
16+
17+
dependencies {
18+
compile group: 'org.springframework.boot', name: 'spring-boot-starter-web', version:'2.0.1.RELEASE'
19+
compile group: 'org.springframework.boot', name: 'spring-boot-starter-thymeleaf', version:'2.0.1.RELEASE'
20+
compile group: 'org.springframework.boot', name: 'spring-boot-starter-actuator', version:'2.0.1.RELEASE'
21+
compile group: 'org.springframework.boot', name: 'spring-boot-devtools', version:'2.0.1.RELEASE'
22+
}

settings.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rootProject.name = 'mvc-exceptions'

0 commit comments

Comments
 (0)