1
1
allprojects {
2
+ apply plugin : ' java'
2
3
apply plugin : ' maven'
3
4
apply plugin : ' eclipse'
4
5
apply plugin : ' idea'
6
+ apply plugin : ' ivy-publish'
7
+
5
8
6
9
group = ' org.reactivestreams'
7
10
version = ' 0.4.0'
@@ -10,9 +13,6 @@ allprojects {
10
13
gradle. projectsEvaluated {
11
14
tasks. withType(JavaCompile ) {
12
15
options. compilerArgs << " -Xlint:unchecked" << " -Xlint:deprecation"
13
- <<<<<< < HEAD
14
- options. encoding = ' UTF-8'
15
- ====== =
16
16
options. encoding = ' UTF-8'
17
17
}
18
18
@@ -26,82 +26,85 @@ allprojects {
26
26
linkSource true
27
27
noTimestamp true
28
28
}
29
- >>>>>>> 30c2b95d5bf72c6e57030924d3179920257f96d2
30
29
}
31
30
}
32
31
33
32
uploadArchives {
34
- repositories. mavenDeployer {
33
+
34
+ repositories {
35
+
36
+ mavenDeployer {
35
37
36
- repository(url : " https://oss.sonatype.org/service/local/staging/deploy/maven2" )
38
+ repository(url : " https://oss.sonatype.org/service/local/staging/deploy/maven2" )
37
39
38
- pom. project {
39
- name ' org.reactivestreams'
40
- packaging ' jar'
41
- url ' http://www.reactive-streams.org/'
42
- inceptionYear ' 2014'
40
+ pom. project {
41
+ name ' org.reactivestreams'
42
+ packaging ' jar'
43
+ url ' http://www.reactive-streams.org/'
44
+ inceptionYear ' 2014'
43
45
44
- scm {
45
- url
' [email protected] :reactive-streams/reactive-streams.git'
46
- connection
' scm:git:[email protected] :reactive-streams/reactive-streams.git'
47
- }
46
+ scm {
47
+ url
' [email protected] :reactive-streams/reactive-streams.git'
48
+ connection
' scm:git:[email protected] :reactive-streams/reactive-streams.git'
49
+ }
48
50
49
- licenses {
50
- license {
51
- name ' CC0'
52
- url ' http://creativecommons.org/publicdomain/zero/1.0/'
53
- distribution ' repo'
51
+ licenses {
52
+ license {
53
+ name ' CC0'
54
+ url ' http://creativecommons.org/publicdomain/zero/1.0/'
55
+ distribution ' repo'
56
+ }
54
57
}
55
- }
56
58
57
- developers {
58
- developer {
59
- id ' reactive-streams-sig'
60
- name ' Reactive Streams SIG'
61
- url ' http://www.reactive-streams.org/'
59
+ developers {
60
+ developer {
61
+ id ' reactive-streams-sig'
62
+ name ' Reactive Streams SIG'
63
+ url ' http://www.reactive-streams.org/'
64
+ }
62
65
}
63
66
}
64
67
}
68
+
69
+ }
70
+ }
71
+ repositories {
72
+ mavenLocal()
73
+ mavenCentral()
74
+ }
75
+
76
+ publishing {
77
+ repositories {
78
+ ivy {
79
+ // change to point to your repo, e.g. http://my.org/repo
80
+ url " ${ rootProject.buildDir} /repo"
81
+ }
82
+ }
83
+ publications {
84
+ ivy(IvyPublication ) {
85
+ from components. java
86
+ descriptor. withXml {
87
+ asNode(). info[0 ]. appendNode(' description' , description)
88
+ }
89
+ }
65
90
}
66
91
}
67
92
}
68
93
69
-
70
94
subprojects {
71
- <<<<<< < HEAD
72
- apply plugin : ' java'
73
- sourceCompatibility = 1.6
74
- targetCompatibility = 1.6
95
+ sourceCompatibility = 1.6
96
+ targetCompatibility = 1.6
75
97
76
- compileJava. options. encoding = ' UTF-8'
98
+ compileJava. options. encoding = ' UTF-8'
77
99
78
- javadoc {
100
+ javadoc {
79
101
destinationDir = file(" build/docs/java/api" )
80
102
options. encoding = ' UTF-8'
81
- }
82
- repositories {
83
- mavenLocal()
84
- mavenCentral()
85
- }
103
+ }
86
104
}
87
105
88
106
project(' :reactive-streams-tck' ) {
89
107
dependencies {
90
108
compile project(' :reactive-streams-api' )
91
- ====== =
92
- apply plugin : ' java'
93
- sourceCompatibility = 1.6
94
- targetCompatibility = 1.6
95
-
96
- compileJava. options. encoding = ' UTF-8'
97
-
98
- javadoc {
99
- destinationDir = file(" build/docs/java/api" )
100
- options. encoding = ' UTF-8'
101
- }
102
- repositories {
103
- mavenLocal()
104
- mavenCentral()
105
- >>>>>>> 30c2b95d5bf72c6e57030924d3179920257f96d2
106
109
}
107
110
}
0 commit comments