-
Notifications
You must be signed in to change notification settings - Fork 27
/
build.gradle
77 lines (60 loc) · 2.61 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
buildscript {
// @see https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-gradle-plugin
ext.kotlin_version = '2.0.21'
ext {
// @see https://mvnrepository.com/artifact/org.jodconverter/jodconverter-local
jodconverterVersion = '4.4.8'
// @see https://mvnrepository.com/artifact/org.mockito/mockito-core
mockitoVersion = '5.14.1'
// @see https://mvnrepository.com/artifact/org.apache.tika/tika-parsers
tikaVersion = '2.9.2'
// @see https://mvnrepository.com/artifact/org.projectlombok/lombok
lombokVersion = '1.18.34'
// @see https://mvnrepository.com/artifact/commons-io/commons-io
commonsIo = '2.17.0'
// javax.annotation needed when compiling against > Java 8 since it is no longer included
// @see https://mvnrepository.com/artifact/javax.annotation/javax.annotation-api
javaxAnnotations = '1.3.2'
// @see https://mvnrepository.com/artifact/org.glassfish.jaxb/jaxb-runtime
jaxb = "4.0.5"
// @see https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-api-kotlin
kotlinLog4j = "1.5.0"
}
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id 'java'
id 'java-library'
// we need maven to write out the pom.xml only
id 'maven-publish'
// @see https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-web
// changing that will upgrade spring to the corresponding version
id 'org.springframework.boot' version '3.3.4'
// much better output during running tests
// see https://github.com/radarsh/gradle-test-logger-plugin for configuration options
id "com.adarshr.test-logger" version "4.0.0"
// @see https://plugins.gradle.org/plugin/org.sonarqube
id "org.sonarqube" version "5.1.0.4882"
id "org.jetbrains.kotlin.jvm" version "2.0.21"
id "org.jetbrains.kotlin.plugin.allopen" version "2.0.21"
id "org.jetbrains.kotlin.plugin.spring" version "2.0.21"
}
apply plugin: 'io.spring.dependency-management'
apply plugin: 'kotlin'
apply plugin: 'org.springframework.boot'
apply from: 'gradle/repositories.gradle'
apply from: 'gradle/dependencies.gradle'
apply from: 'gradle/build.gradle'
apply from: 'gradle/tests.gradle'
apply from: 'gradle/spring_bootRun.gradle'
apply from: 'gradle/sonarqube.gradle'
apply from: 'gradle/kotlin.gradle'
apply from: 'gradle/configuration.gradle'
group = 'de.kontextwork'
// this lets us set the version during build using cli -Pversion=1.1.1
version = "${version}"