forked from allegro/json-avro-converter
-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
49 lines (40 loc) · 955 Bytes
/
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
plugins {
id 'java'
id 'pl.allegro.tech.build.axion-release' version '1.10.2'
}
scmVersion {
tag {
prefix = 'json-avro-converter'
}
versionCreator 'versionWithBranch'
hooks {
pre 'fileUpdate', [files: ['README.md'], pattern: {v, p -> /'$v'/ }, replacement: {v, p -> "'$v'"}]
pre 'commit'
}
}
allprojects {
project.group = 'tech.allegro.schema.json2avro'
project.version = scmVersion.version
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
subprojects {
project.ext.versions = [
spock: '2.1-groovy-3.0',
groovy: '3.0.9'
]
repositories {
mavenCentral()
}
test {
testLogging {
exceptionFormat 'full'
}
}
tasks.withType(JavaCompile) {
options.compilerArgs += ['-Xlint:unchecked', '-Xlint:deprecation']
}
}
wrapper {
gradleVersion = '7.4.2'
}