-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathbuild.gradle
45 lines (33 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
41
42
43
44
plugins {
id 'java'
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
compileJava {
// placing dependencies to the module path
// https://discuss.gradle.org/t/gradle-doesnt-add-modules-to-module-path-during-compile/27382
inputs.property("moduleName", "com.jthemedetector")
doFirst {
options.compilerArgs = [
'--module-path', classpath.asPath,
]
classpath = files()
}
}
dependencies {
implementation group: 'org.slf4j', name: 'slf4j-api', version: '1.7.30'
testImplementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
testImplementation group: 'ch.qos.logback', name: 'logback-core', version: '1.2.3'
//JNA
implementation 'net.java.dev.jna:jna:5.8.0'
implementation 'net.java.dev.jna:jna-platform:5.8.0'
//JFA
implementation 'de.jangassen:jfa:1.1.9'
//OSHI
implementation 'com.github.oshi:oshi-core:5.7.1'
implementation 'io.github.g00fy2:versioncompare:1.4.1'
implementation 'org.jetbrains:annotations:19.0.0'
}