-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
57 lines (48 loc) · 1.63 KB
/
build.gradle
File metadata and controls
57 lines (48 loc) · 1.63 KB
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
plugins {
id 'groovy'
id 'java-library'
id 'idea'
id 'checkstyle'
}
checkstyle {
toolVersion = '10.12.0' // Use latest stable version
configFile = file("${rootDir}/config/checkstyle/checkstyle.xml") // Path to your custom XML
ignoreFailures = false // Set to true if you don't want the build to fail on warnings
showViolations = true // Show errors in the console
}
group 'io.deephaven'
version "1.5-${dhcVersion}"
allprojects {
repositories {
mavenCentral()
}
}
tasks.wrapper {
Wrapper w ->
w.gradleVersion = '8.9'
w.distributionType = 'ALL'
}
java {
withSourcesJar()
withJavadocJar()
}
dependencies {
implementation platform("io.deephaven:deephaven-bom:${dhcVersion}"),
"io.deephaven:deephaven-engine-table",
"it.unimi.dsi:fastutil:8.5.13"
runtimeOnly "io.deephaven:deephaven-log-to-slf4j",
'ch.qos.logback:logback-classic:1.4.12'
// testImplementation("io.deephaven:deephaven-engine:0.36.1")
testImplementation("io.deephaven:deephaven-engine-table:0.36.1")
testImplementation("io.deephaven:deephaven-engine-test-utils:0.36.1")
}
jar {
manifest {
attributes 'Implementation-Title': 'deephaven-pricebook',
'Implementation-Version': version,
'Provider': 'gradle',
'VCS-Branch': "${ -> ext.vcsRevision = 'git rev-parse --abbrev-ref HEAD'.execute(null, rootDir).text.trim()}",
'VCS-Revision': "${ -> ext.vcsBranch = 'git rev-list --max-count=1 HEAD'.execute(null, rootDir).text.trim()}",
'Build-Date' : new Date()
}
}