-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathbuild.gradle
More file actions
49 lines (40 loc) · 862 Bytes
/
build.gradle
File metadata and controls
49 lines (40 loc) · 862 Bytes
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 'org.springframework.boot' version '3.1.0'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'idea'
id 'java'
id 'maven-publish'
}
sourceCompatibility = '17'
version = "$hsvVersion"
/****************************************
* Dependencies on specific libraries
****************************************/
ext['logback.version'] = '1.2.9'
ext['log4j2.version'] = '2.17.0' // Just in Case (log4J vulnerability patch)
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
mavenLocal()
}
java {
withJavadocJar()
withSourcesJar()
}
javadoc {
if (JavaVersion.current().isJava11Compatible()) {
options.addBooleanOption('Xdoclint:none', true)
}
}
task printVersion {
doLast {
println project.version
}
}
dependencies {}
bootJar { enabled = false}
jar {enabled = false}