-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
65 lines (49 loc) · 1.32 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
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* User Manual available at https://docs.gradle.org/6.0.1/userguide/tutorial_java_projects.html
*/
plugins {
id 'java'
id 'application'
}
compileJava {
options.compilerArgs << '-Xlint:deprecation'
options.compilerArgs << '-Xlint:unchecked'
}
version = '1.0.0'
repositories {
mavenCentral()
}
def tempDir = file("tmp")
task createTmpdir() {
delete tempDir
tempDir.mkdirs()
}
test.dependsOn createTmpdir
configurations {
libs
}
dependencies {
libs 'org.json:json:20211205'
libs 'org.apache.commons:commons-jcs3-core:3.0'
libs 'org.apache.commons:commons-csv:1.9.0'
libs 'commons-net:commons-net:3.0.1'
libs 'com.fasterxml.jackson.core:jackson-databind:2.13.0'
libs 'com.ibm.db2:jcc:11.5.0.0'
libs 'org.eclipse.paho:org.eclipse.paho.mqttv5.client:1.2.5'
testImplementation 'junit:junit:4.13.1'
configurations.implementation.extendsFrom(configurations.libs)
}
task getDeps(type: Copy) {
from sourceSets.main.runtimeClasspath
into 'libs/'
}
application {
mainClassName = 'com.ibm.mas.scada.historian.connector.Connector'
}
test {
useJUnit()
}