-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
110 lines (88 loc) · 3.38 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id 'org.jetbrains.kotlin.jvm' version '2.0.0'
id("org.springframework.boot") version "2.6.6"
id("io.spring.dependency-management") version "1.0.11.RELEASE"
id "org.jetbrains.kotlin.plugin.jpa" version "2.0.0"
id "org.jetbrains.kotlin.plugin.spring" version "2.0.0"
}
group 'de.itcr'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
compileKotlin {
sourceCompatibility = "17"
targetCompatibility = "17"
}
compileJava {
sourceCompatibility = "17"
targetCompatibility = "17"
}
sourceSets {
main {
java {
srcDir "src"
}
}
}
dependencies {
//Kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib:2.0.0"
implementation "org.jetbrains.kotlin:kotlin-reflect:2.0.0"
//Spring Boot
//implementation 'org.springframework:spring-core:6.1.8'
//implementation 'org.springframework:spring-beans:6.1.8'
//implementation 'org.springframework:spring-context:6.1.8'
//implementation 'org.springframework:spring-expression:6.1.8'
implementation 'org.springframework.boot:spring-boot'
//implementation 'org.springframework.boot:spring-boot-starter:3.3.0'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-configuration-processor'
implementation 'org.springframework.boot:spring-boot-starter-log4j2'
//implementation 'org.springframework.data:spring-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
//Hibernate-related
implementation 'io.hypersistence:hypersistence-utils-hibernate-55:3.7.6'
//JDBC SQLite
implementation 'org.xerial:sqlite-jdbc:3.41.2.2'
//JDBC Postgres
implementation 'org.postgresql:postgresql:42.7.3'
//RocksDB
implementation 'org.rocksdb:rocksdbjni:7.6.0'
//Log4J
implementation 'org.apache.logging.log4j:log4j-core:2.23.1'
implementation 'org.apache.logging.log4j:log4j-api:2.23.1'
//SLF4J
implementation 'org.slf4j:slf4j-api:1.7.0'
testImplementation 'org.slf4j:slf4j-simple:1.7.0'
//HAPI FHIR
implementation 'ca.uhn.hapi.fhir:hapi-fhir-base:7.2.0'
implementation 'ca.uhn.hapi.fhir:hapi-fhir-structures-r4b:7.2.0'
implementation 'ca.uhn.hapi.fhir:hapi-fhir-validation:7.2.0'
implementation 'ca.uhn.hapi.fhir:hapi-fhir-validation-resources-r4b:7.2.0'
implementation 'ca.uhn.hapi.fhir:hapi-fhir-client:7.2.0'
// Jackson
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.17.1'
implementation 'com.fasterxml.jackson.core:jackson-core:2.17.1'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.1'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.1'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.1'
implementation 'com.fasterxml.jackson.module:jackson-module-parameter-names:2.17.1'
// For Patricia trie
implementation 'org.apache.commons:commons-collections4:4.5.0-M1'
}
configurations {
configureEach {
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
exclude group: 'ch.qos.logback', module: 'logback-classic'
}
}
tasks.withType(KotlinCompile).configureEach {
kotlinOptions {
jvmTarget = "17"
}
}
tasks.bootJar {
archiveFileName.set("termite.jar")
}