-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
60 lines (42 loc) · 2.06 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
plugins {
// Apply the java plugin to add support for Java
id 'java'
// Apply the application plugin to add support for building a CLI application
id 'application'
// Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that can you can "just run"
id 'org.springframework.boot' version '2.2.4.RELEASE'
// A Gradle plugin that provides Maven-like dependency management and exclusions
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
id "io.freefair.lombok" version "5.0.0-rc4"
}
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'com.h2database', name: 'h2', version: "$versionH2database"
// Use JUnit Jupiter API for testing
testImplementation "org.junit.jupiter:junit-jupiter-api:$versionJunitJupiterApi"
// Use JUnit Jupiter Engine for testing
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$versionJunitJupiterApi"
// JDBC Type 4 driver for MySQL
implementation 'mysql:mysql-connector-java'
// Starter for using Spring Data JPA with Hibernate
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
// Starter for building web, including RESTful, applications using Spring MVC. Uses Tomcat as the default embedded container
implementation 'org.springframework.boot:spring-boot-starter-web'
// Starter for building MVC web applications using Thymeleaf views
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
// Starter for testing Spring Boot applications with libraries including JUnit, Hamcrest and Mockito
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// Default servlet container starter used by spring-boot-starter-web
implementation 'org.springframework.boot:spring-boot-starter-tomcat'
// Dependency for StringUtils
implementation "org.apache.commons:commons-lang3:$versionLang3"
implementation "commons-codec:commons-codec:$versionCodec"
}
application {
mainClassName = 'com.uthanks.App'
}
test {
useJUnitPlatform()
}