-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathbuild.gradle
More file actions
29 lines (25 loc) · 826 Bytes
/
build.gradle
File metadata and controls
29 lines (25 loc) · 826 Bytes
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
plugins {
id 'application'
id 'datafusion.java-conventions'
id 'com.diffplug.spotless'
}
spotless {
java {
googleJavaFormat()
}
}
dependencies {
implementation project(':datafusion-java')
implementation 'org.slf4j:slf4j-api:2.0.16'
implementation 'ch.qos.logback:logback-classic:1.5.18'
implementation 'org.apache.arrow:arrow-format:18.0.0'
implementation 'org.apache.arrow:arrow-vector:18.1.0'
}
application {
mainClass = 'org.apache.arrow.datafusion.examples.ExampleMain'
def libraryPath = findProperty("JNI_PATH") ?: "$rootDir/datafusion-java/build/jni_libs/dev"
applicationDefaultJvmArgs += ["-Djava.library.path=$libraryPath", "--add-opens=java.base/java.nio=ALL-UNNAMED"]
}
tasks.named("run").configure {
dependsOn(":datafusion-java:copyDevLibrary")
}