File tree Expand file tree Collapse file tree 2 files changed +265
-267
lines changed
dslink-v2/src/main/java/com/acuity/iot/dsa/dslink/transport Expand file tree Collapse file tree 2 files changed +265
-267
lines changed Original file line number Diff line number Diff line change 11subprojects {
22
3- apply plugin : ' jacoco'
43 apply plugin : ' java-library'
5- apply plugin : ' maven'
4+ apply plugin : ' maven-publish '
65
76 group ' org.iot-dsa'
8- version ' 0.75.3 '
7+ version ' 0.76.0 '
98
109 targetCompatibility = JavaVersion . VERSION_1_8
1110 sourceCompatibility = JavaVersion . VERSION_1_8
1211
1312 repositories {
14- jcenter()
1513 mavenLocal()
14+ mavenCentral()
1615 maven {
1716 url " https://plugins.gradle.org/m2/"
1817 }
@@ -26,6 +25,14 @@ subprojects {
2625 }
2726 }
2827
28+ publishing {
29+ publications {
30+ mavenJava(MavenPublication ) {
31+ from components. java
32+ }
33+ }
34+ }
35+
2936 task sourcesJar(group : ' build' , type : Jar , dependsOn : classes) {
3037 archiveClassifier = ' sources'
3138 from sourceSets. main. allJava
@@ -40,17 +47,6 @@ subprojects {
4047 useTestNG()
4148 }
4249
43- jacocoTestReport {
44-
45- reports {
46- xml. enabled true
47- csv. enabled false
48- html. enabled true
49- }
50- }
51-
52- build. dependsOn jacocoTestReport
53-
5450}
5551
5652allprojects {
@@ -60,5 +56,5 @@ allprojects {
6056}
6157
6258wrapper {
63- gradleVersion = ' 6.1 '
59+ gradleVersion = ' 6.8 '
6460}
You can’t perform that action at this time.
0 commit comments