-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
59 lines (49 loc) · 1.58 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
plugins {
id 'java'
id 'idea'
id 'io.spring.dependency-management' version '1.1.4'
id 'org.springframework.boot' version '3.2.0' apply false
id 'com.palantir.docker' version '0.35.0' apply false
id "com.github.davidmc24.gradle.plugin.avro" version "1.9.1" apply false
}
group 'com.ashu.practice'
version '3.0.0'
ext {
springdocOpenapiVersion = '2.3.0'
apacheAvroVersion = '1.11.3'
swaggerAnnotationsVersion = '2.2.18'
kafkaAvroSerializerVersion = '7.5.1'
datafakerVersion = '2.0.2'
}
subprojects {
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'io.spring.dependency-management'
java {
sourceCompatibility = '21'
}
dependencyManagement {
imports {
mavenBom org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES
}
dependencies {
dependency "org.springdoc:springdoc-openapi-starter-webmvc-ui:$springdocOpenapiVersion"
dependency "io.swagger.core.v3:swagger-annotations:$swaggerAnnotationsVersion"
dependency "org.apache.avro:avro:$apacheAvroVersion"
dependency "io.confluent:kafka-avro-serializer:$kafkaAvroSerializerVersion"
dependency "io.confluent:kafka-streams-avro-serde:$kafkaAvroSerializerVersion"
dependency "net.datafaker:datafaker:$datafakerVersion"
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}
}