-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
51 lines (42 loc) · 1.52 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
45
46
47
48
49
50
51
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java Library project to get you started.
* For more details take a look at the Java Libraries chapter in the Gradle
* user guide available at https://docs.gradle.org/4.10.2/userguide/java_library_plugin.html
*/
plugins {
// Apply the java-library plugin to add support for Java Library
id 'java-library'
}
dependencies {
implementation (group:'com.google.guava', name:'guava', version:guavaVersion)
implementation (group:'net.java.dev.jna', name:'jna', version:jnaVersion)
implementation (group: 'commons-io', name: 'commons-io', version: apacheCommonsIOVersion)
api (group:'net.java.dev.jna', name:'jna-platform', version:jnaVersion)
api (group:'org.slf4j', name:'slf4j-api', version:slf4jVersion) //is this correct or should it be implementation?
testImplementation (group:'org.slf4j', name:'slf4j-simple', version:'1.7.25')
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
}
// In this section you declare where to find the dependencies of your project
repositories {
mavenCentral()
jcenter()
}
jar {
manifest {
attributes('Implementation-Title': project.name,
'Implementation-Version': project.version)
}
}
task printProps {
doLast {
println version
println maintainer
println System.properties['system']
}
}
test {
useJUnitPlatform()
}