-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
45 lines (37 loc) · 1.2 KB
/
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
41
42
43
44
45
group 'OpenStudies'
version '1.0-SNAPSHOT'
apply plugin: 'java'
sourceCompatibility = 1.8
buildscript {
repositories {
jcenter()
}
dependencies {
classpath('io.spring.gradle:dependency-management-plugin:0.5.3.RELEASE')
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.3.0.RELEASE")
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'io.spring.dependency-management'
repositories {
jcenter()
mavenCentral()
}
dependencies {
compile('org.projectlombok:lombok:1.16.8')
//compile('org.slf4j:slf4j-simple:1.7.21')
compile('io.springfox:springfox-swagger2:2.4.0')
compile('io.springfox:springfox-swagger-ui:2.4.0')
compile('org.apache.logging.log4j:log4j-api:2.5')
compile('org.apache.logging.log4j:log4j-core:2.5')
compile("org.springframework.boot:spring-boot-starter-web:1.3.0.RELEASE")
compile('org.springframework.boot:spring-boot-starter-data-jpa:1.3.0.RELEASE')
compile('mysql:mysql-connector-java')
}
dependencyManagement {
imports {
mavenBom("org.springframework.boot:spring-boot-dependencies:1.3.0.RELEASE")
}
}
}