-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
49 lines (40 loc) · 1 KB
/
build.gradle
File metadata and controls
49 lines (40 loc) · 1 KB
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
apply plugin: 'application'
apply plugin: 'java-library'
apply plugin: 'maven-publish'
group = 'org.iot-dsa'
version = '0.20.2'
mainClassName = 'org.dsa.iot.etsdb.Main'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://jitpack.io' }
}
java {
withSourcesJar()
withJavadocJar()
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
dependencies {
//api 'org.iot-dsa:historian:1.1.1' //for local install testing
//api 'org.iot-dsa:commons:1.1.1' //for local install testing
api 'com.github.iot-dsa:sdk-dslink-java:1.1.1'
}
run {
args System.getProperty("exec.args", "").split()
workingDir project.buildDir
}
applicationDistribution.from(new File(project.projectDir, "/dslink.json"))
wrapper {
gradleVersion = '6.9.2'
}