-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
58 lines (49 loc) · 2.03 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
plugins {
id 'java'
id 'org.openapi.generator' version '5.4.0'
}
group 'com.innovatrics.dot.integration'
version "$version"
openApiGenerate {
generatorName = "java"
inputSpec = file("./src/main/resources/plw-swagger.yml").toString()
outputDir = "$buildDir/generated".toString()
apiPackage = "com.innovatrics.dot.integrationsamples.api.model"
modelPackage = "com.innovatrics.dot.integrationsamples.api.model"
generateApiDocumentation = false
generateApiTests = false
generateModelTests = false
configOptions = [
enumPropertyNaming: 'original',
moshiCodeGen : 'true'
]
additionalProperties = [
removeEnumValuePrefix: 'false'
]
}
compileJava.dependsOn tasks.openApiGenerate
sourceSets.main.java.srcDirs += 'build/generated/src/main/java'
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
repositories {
mavenCentral()
}
dependencies {
implementation 'org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:1.0.1'
implementation 'org.apache.logging.log4j:log4j-api:2.18.0'
implementation 'org.apache.logging.log4j:log4j-core:2.18.0'
implementation 'org.apache.logging.log4j:log4j-slf4j-impl:2.18.0'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.13.1'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.13.1'
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:2.8.9'
implementation 'io.gsonfire:gson-fire:1.8.5'
implementation 'io.swagger:swagger-annotations:1.6.4'
implementation 'jakarta.annotation:jakarta.annotation-api:2.0.0'
implementation 'javax.annotation:javax.annotation-api:1.3.2'
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation 'org.openapitools:jackson-databind-nullable:0.2.2'
implementation 'org.threeten:threetenbp:1.5.2'
}