-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
75 lines (61 loc) · 2.79 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
import net.researchgate.release.GitAdapter
plugins {
id 'net.researchgate.release' version '2.8.1'
// 1.8.20 due to compatibility with kotlinx-dataframe and ksp
id 'org.jetbrains.kotlin.jvm' version '1.8.20'
// // Optional Gradle plugin for enhanced type safety and schema generation
// // https://kotlin.github.io/dataframe/gradle.html
id 'org.jetbrains.kotlinx.dataframe' version '0.11.1'
// Apply the java-library plugin for API and implementation separation.
id 'java-library'
}
group 'org.graphomance'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${kotlinVersion}"
implementation group: 'io.dropwizard.metrics', name: 'metrics-core', version: '3.2.6'
implementation group: 'commons-cli', name: 'commons-cli', version: '1.4'
implementation group: 'org.neo4j.driver', name: 'neo4j-java-driver', version: neo4jVersion
implementation group: 'com.arangodb', name: 'arangodb-java-driver', version: arangoApiVersion
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation 'org.assertj:assertj-core:3.11.1'
implementation 'org.reflections:reflections:0.10.2'
implementation ('com.github.javafaker:javafaker:1.0.2') { exclude module: 'snakeyaml' }
implementation 'org.yaml:snakeyaml:2.2' // solves CVE errors in javafaker dependencies
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.13.5' // required to serialize LocalDate with ArangoDB driver
implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.15.1"
implementation 'org.jetbrains.kotlinx:dataframe:0.11.1'
implementation 'org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.4.2'
implementation 'io.github.cdimascio:dotenv-kotlin:6.4.1'
testImplementation 'org.jetbrains.kotlin:kotlin-test-junit5'
testImplementation "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
testImplementation 'org.junit.platform:junit-platform-suite-api:1.10.0'
testImplementation 'org.junit.platform:junit-platform-suite-engine:1.10.0'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
release {
scmAdapters = [GitAdapter]
preTagCommitMessage = 'Pre tag: '
tagCommitMessage = 'Creating tag: '
newVersionCommitMessage = 'New version: '
}
// Apply a specific Java toolchain to ease working on different environments.
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
tasks.named('test') {
// Use JUnit Platform for unit tests.
useJUnitPlatform()
}
task combineResults(type: JavaExec) {
dependsOn compileKotlin
group = "Execution"
description = "Combining test results"
classpath = sourceSets.main.runtimeClasspath
main = "org.graphomance.reporting.ChartsGeneratorKt"
}