-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
35 lines (30 loc) · 861 Bytes
/
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
plugins {
id 'application'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'com.github.sarxos:webcam-capture:0.3.12'
implementation 'com.microsoft.onnxruntime:onnxruntime:1.16.0'
implementation 'org.apache.logging.log4j:log4j-api:2.20.0'
implementation 'org.apache.logging.log4j:log4j-core:2.20.0'
implementation 'org.jline:jline:3.22.0'
implementation 'org.jline:jline-terminal-jna:3.22.0'
testImplementation 'junit:junit:4.13'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
jar {
manifest {
// https://stackoverflow.com/questions/52953483/logmanager-getlogger-is-unable-to-determine-class-name-on-java-11
attributes 'Multi-Release': 'true'
}
}
application {
mainClass = 'App'
}