-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
62 lines (50 loc) · 1.55 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
plugins {
id "org.springframework.boot" version "2.7.10" apply false
id "io.spring.dependency-management" version "1.0.11.RELEASE" apply false
id "com.github.hierynomus.license" version "0.16.1"
}
group "cz.cvut.kbss"
description "Text analysis for Czech language and annotation recommendation service"
version "0.0.1"
def revision = "git rev-list --count HEAD".execute().text.trim()
def hash = "git rev-parse --short HEAD".execute().text.trim()
version = "0.0.1.r${revision}.${hash}"
ext {
junitVersion = "5.9.2"
}
subprojects {
apply plugin: "java"
apply plugin: "java-library"
apply plugin: "com.github.hierynomus.license"
compileJava {
sourceCompatibility = "11"
targetCompatibility = "11"
}
test {
useJUnitPlatform()
}
license {
header = rootProject.file("header.txt")
excludes(["**/*.txt", "**/*.yml", "**/*.html", "**/*.xml", "**/*.ttl"])
mapping {
java = "SLASHSTAR_STYLE"
}
}
group parent.group
version parent.version
repositories {
mavenCentral()
maven {
name = "kbss-private"
url = uri("https://kbss.felk.cvut.cz/m2repo-private")
}
}
dependencies {
implementation "org.slf4j:slf4j-api:1.7.36"
implementation "ch.qos.logback:logback-classic:1.2.11"
compileOnly "org.projectlombok:lombok:1.18.20"
annotationProcessor "org.projectlombok:lombok:1.18.20"
testImplementation(libs.junit.api)
testRuntimeOnly(libs.junit.engine)
}
}