-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
40 lines (34 loc) · 975 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
buildscript {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.1.10.RELEASE")
}
}
apply plugin: 'java'
//IntelliJ IDEA 插件
apply plugin: 'idea'
//war包插件
apply plugin: 'war'
apply plugin: 'spring-boot'
sourceCompatibility = 1.5
version = '1.0'
repositories {
mavenLocal()
mavenCentral()
maven { url "https://repo.spring.io/libs-release" }
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
compile("org.springframework.boot:spring-boot-starter-web:1.3.4.RELEASE")
compile("org.springframework.boot:spring-boot-starter-data-jpa")
compile( "mysql:mysql-connector-java:5.1.38")
compile("org.apache.tomcat.embed:tomcat-embed-jasper")
compile("javax.servlet:jstl")
//compile("org.springframework.boot:spring-boot-starter-jdbc")
}
task wrapper(type: Wrapper) {
gradleVersion = '2.2.1'
}