-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (39 loc) · 1.15 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
plugins {
id 'org.springframework.boot' version '2.4.3'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id "com.microsoft.azure.azurewebapp" version "1.1.0"
}
group = 'com.java.spring'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
azurewebapp {
subscription = '32b58b1e-e7c5-4b2d-ab4b-b9961da67ca4'
resourceGroup = 'resource-001'
appName = 'lorem-ipsum-msvc'
pricingTier = 'P1v2'
region = 'westus'
runtime {
os = 'Linux'
webContainer = 'Tomcat 9.0'
javaVersion = 'Java 8'
}
auth {
type = 'azure_cli' // support azure_cli, oauth2, device_code and service_principal
}
}
repositories {
mavenCentral()
}
dependencies {
// implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation "org.springframework.boot:spring-boot-starter-thymeleaf"
implementation 'io.springfox:springfox-boot-starter:3.0.0'
implementation 'io.springfox:springfox-swagger-ui:3.0.0'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
test {
useJUnitPlatform()
}