-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
48 lines (40 loc) · 1.25 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
plugins {
id 'java'
id "io.spring.dependency-management" version "1.1.4"
id "org.openapi.generator" version "7.1.0"
}
group = 'com.shoeshop'
version = '0.0.1-SNAPSHOT'
ext {
springCloudVersion = '2023.0.0'
gsonVersion = '2.8.9'
openAPIVersion = '2.0.2'
}
allprojects {
repositories {
mavenCentral()
}
}
subprojects {
// Common configuration for all subprojects
apply plugin: 'java'
apply plugin: "io.spring.dependency-management"
apply plugin: "org.openapi.generator"
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
dependencies {
implementation "org.springdoc:springdoc-openapi-starter-webmvc-ui:${openAPIVersion}"
// OpenAPI related fix
implementation 'javax.annotation:javax.annotation-api:1.3.2'
implementation 'com.google.code.findbugs:jsr305:3.0.2'
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.3'
implementation "com.google.code.gson:gson:${gsonVersion}"
implementation 'io.gsonfire:gson-fire:1.8.5'
}
}