|
1 |
| -subprojects { |
2 |
| - |
3 |
| - apply plugin: 'jacoco' |
4 |
| - apply plugin: 'java-library' |
5 |
| - apply plugin: 'maven' |
6 |
| - |
7 |
| - group 'org.iot-dsa' |
8 |
| - version '0.75.2' |
9 |
| - |
10 |
| - targetCompatibility = JavaVersion.VERSION_1_8 |
11 |
| - sourceCompatibility = JavaVersion.VERSION_1_8 |
12 |
| - |
13 |
| - repositories { |
14 |
| - jcenter() |
15 |
| - mavenLocal() |
16 |
| - maven { |
17 |
| - url "https://plugins.gradle.org/m2/" |
18 |
| - } |
19 |
| - } |
20 |
| - |
21 |
| - jar { |
22 |
| - manifest { |
23 |
| - attributes( |
24 |
| - 'Automatic-Module-Name': 'org.iot.dsa.' + project.name.replaceAll('-', '.') |
25 |
| - ) |
26 |
| - } |
27 |
| - } |
28 |
| - |
29 |
| - task sourcesJar(group: 'build', type: Jar, dependsOn: classes) { |
30 |
| - archiveClassifier = 'sources' |
31 |
| - from sourceSets.main.allJava |
32 |
| - } |
33 |
| - |
34 |
| - task javadocJar(type: Jar, dependsOn: javadoc) { |
35 |
| - archiveClassifier = 'javadoc' |
36 |
| - from javadoc.destinationDir |
37 |
| - } |
38 |
| - |
39 |
| - test { |
40 |
| - useTestNG() |
41 |
| - } |
42 |
| - |
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 |
| - |
54 |
| -} |
55 |
| - |
56 |
| -allprojects { |
57 |
| - tasks.withType(Javadoc) { |
58 |
| - options.addStringOption('Xdoclint:none', '-quiet') |
59 |
| - } |
60 |
| -} |
61 |
| - |
62 |
| -wrapper { |
63 |
| - gradleVersion = '6.1' |
64 |
| -} |
| 1 | +subprojects { |
| 2 | + |
| 3 | + apply plugin: 'jacoco' |
| 4 | + apply plugin: 'java-library' |
| 5 | + apply plugin: 'maven' |
| 6 | + |
| 7 | + group 'org.iot-dsa' |
| 8 | + version '0.75.3' |
| 9 | + |
| 10 | + targetCompatibility = JavaVersion.VERSION_1_8 |
| 11 | + sourceCompatibility = JavaVersion.VERSION_1_8 |
| 12 | + |
| 13 | + repositories { |
| 14 | + jcenter() |
| 15 | + mavenLocal() |
| 16 | + maven { |
| 17 | + url "https://plugins.gradle.org/m2/" |
| 18 | + } |
| 19 | + } |
| 20 | + |
| 21 | + jar { |
| 22 | + manifest { |
| 23 | + attributes( |
| 24 | + 'Automatic-Module-Name': 'org.iot.dsa.' + project.name.replaceAll('-', '.') |
| 25 | + ) |
| 26 | + } |
| 27 | + } |
| 28 | + |
| 29 | + task sourcesJar(group: 'build', type: Jar, dependsOn: classes) { |
| 30 | + archiveClassifier = 'sources' |
| 31 | + from sourceSets.main.allJava |
| 32 | + } |
| 33 | + |
| 34 | + task javadocJar(type: Jar, dependsOn: javadoc) { |
| 35 | + archiveClassifier = 'javadoc' |
| 36 | + from javadoc.destinationDir |
| 37 | + } |
| 38 | + |
| 39 | + test { |
| 40 | + useTestNG() |
| 41 | + } |
| 42 | + |
| 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 | + |
| 54 | +} |
| 55 | + |
| 56 | +allprojects { |
| 57 | + tasks.withType(Javadoc) { |
| 58 | + options.addStringOption('Xdoclint:none', '-quiet') |
| 59 | + } |
| 60 | +} |
| 61 | + |
| 62 | +wrapper { |
| 63 | + gradleVersion = '6.1' |
| 64 | +} |
0 commit comments