-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathbuild.gradle
40 lines (32 loc) · 1.07 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
plugins {
id 'java'
}
group = 'org.homer'
version = '4.2.4'
description = """Neo4j Procedures for Graph Versioning"""
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
options.fork = true
options.incremental = true
}
tasks.withType(Test).configureEach {
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
}
repositories {
mavenCentral()
}
dependencies {
implementation group: 'org.neo4j', name: 'neo4j', version: '4.2.4'
testImplementation group: 'org.assertj', name: 'assertj-core', version: '3.16.0'
testImplementation group: 'org.hamcrest', name: 'hamcrest-junit', version: '2.0.0.0'
testImplementation group: 'org.mockito', name: 'mockito-core', version: '2.13.0'
testImplementation group: 'org.neo4j.driver', name: 'neo4j-java-driver', version: '4.2.3'
testImplementation group: 'org.neo4j.test', name: 'neo4j-harness', version: '4.2.4'
}
tasks.named('test') {
useJUnitPlatform()
}