-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
42 lines (35 loc) · 1.21 KB
/
build.gradle
File metadata and controls
42 lines (35 loc) · 1.21 KB
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
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'org.springframework.boot' version '2.1.1.RELEASE'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id 'jacoco'
}
group = 'in.hp.java'
version = '0.0.1-SNAPSHOT'
description = 'course-data-api'
java.sourceCompatibility = JavaVersion.VERSION_1_8
repositories {
/**
* It prioritizes maven local first then maven central configured through url
* It can be replaced with mavenCentral()
*/
mavenLocal()
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'io.springfox:springfox-swagger2:2.9.2'
implementation 'io.springfox:springfox-swagger-ui:2.9.2'
runtimeOnly 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'com.h2database:h2:1.4.197'
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.1.1.RELEASE'
}
test.finalizedBy(jacocoTestReport)
jacocoTestReport.dependsOn test