|
1 |
| -subprojects { |
2 |
| - |
3 |
| - apply plugin: 'java-library' |
4 |
| - apply plugin: 'maven-publish' |
5 |
| - |
6 |
| - group 'org.iot-dsa' |
7 |
| - version '0.79.1' |
8 |
| - |
9 |
| - targetCompatibility = JavaVersion.VERSION_1_8 |
10 |
| - sourceCompatibility = JavaVersion.VERSION_1_8 |
11 |
| - |
12 |
| - repositories { |
13 |
| - mavenLocal() |
14 |
| - mavenCentral() |
15 |
| - maven { |
16 |
| - url "https://plugins.gradle.org/m2/" |
17 |
| - } |
18 |
| - } |
19 |
| - |
20 |
| - jar { |
21 |
| - manifest { |
22 |
| - attributes( |
23 |
| - 'Automatic-Module-Name': 'org.iot.dsa.' + project.name.replaceAll('-', '.') |
24 |
| - ) |
25 |
| - } |
26 |
| - } |
27 |
| - |
28 |
| - publishing { |
29 |
| - publications { |
30 |
| - mavenJava(MavenPublication) { |
31 |
| - from components.java |
32 |
| - } |
33 |
| - } |
34 |
| - } |
35 |
| - |
36 |
| - task sourcesJar(group: 'build', type: Jar, dependsOn: classes) { |
37 |
| - archiveClassifier = 'sources' |
38 |
| - from sourceSets.main.allJava |
39 |
| - } |
40 |
| - |
41 |
| - task javadocJar(type: Jar, dependsOn: javadoc) { |
42 |
| - archiveClassifier = 'javadoc' |
43 |
| - from javadoc.destinationDir |
44 |
| - } |
45 |
| - |
46 |
| - test { |
47 |
| - useTestNG() |
48 |
| - } |
49 |
| - |
50 |
| -} |
51 |
| - |
52 |
| -allprojects { |
53 |
| - tasks.withType(Javadoc) { |
54 |
| - options.addStringOption('Xdoclint:none', '-quiet') |
55 |
| - } |
56 |
| -} |
57 |
| - |
58 |
| -wrapper { |
59 |
| - gradleVersion = '6.8' |
60 |
| -} |
| 1 | +subprojects { |
| 2 | + |
| 3 | + apply plugin: 'java-library' |
| 4 | + apply plugin: 'maven-publish' |
| 5 | + |
| 6 | + group 'org.iot-dsa' |
| 7 | + version '0.79.2' |
| 8 | + |
| 9 | + targetCompatibility = JavaVersion.VERSION_1_8 |
| 10 | + sourceCompatibility = JavaVersion.VERSION_1_8 |
| 11 | + |
| 12 | + repositories { |
| 13 | + mavenLocal() |
| 14 | + mavenCentral() |
| 15 | + maven { |
| 16 | + url "https://plugins.gradle.org/m2/" |
| 17 | + } |
| 18 | + } |
| 19 | + |
| 20 | + jar { |
| 21 | + manifest { |
| 22 | + attributes( |
| 23 | + 'Automatic-Module-Name': 'org.iot.dsa.' + project.name.replaceAll('-', '.') |
| 24 | + ) |
| 25 | + } |
| 26 | + } |
| 27 | + |
| 28 | + publishing { |
| 29 | + publications { |
| 30 | + mavenJava(MavenPublication) { |
| 31 | + from components.java |
| 32 | + } |
| 33 | + } |
| 34 | + } |
| 35 | + |
| 36 | + task sourcesJar(group: 'build', type: Jar, dependsOn: classes) { |
| 37 | + archiveClassifier = 'sources' |
| 38 | + from sourceSets.main.allJava |
| 39 | + } |
| 40 | + |
| 41 | + task javadocJar(type: Jar, dependsOn: javadoc) { |
| 42 | + archiveClassifier = 'javadoc' |
| 43 | + from javadoc.destinationDir |
| 44 | + } |
| 45 | + |
| 46 | + test { |
| 47 | + useTestNG() |
| 48 | + } |
| 49 | + |
| 50 | +} |
| 51 | + |
| 52 | +allprojects { |
| 53 | + tasks.withType(Javadoc) { |
| 54 | + options.addStringOption('Xdoclint:none', '-quiet') |
| 55 | + } |
| 56 | +} |
| 57 | + |
| 58 | +wrapper { |
| 59 | + gradleVersion = '6.8' |
| 60 | +} |
0 commit comments