@@ -5,16 +5,15 @@ val logbackVersion = "1.2.3"
5
5
val integrationOption = " tests.integration"
6
6
7
7
group = " io.reactiverse"
8
- version = " 1.0 .0"
8
+ version = " 1.1 .0"
9
9
10
10
plugins {
11
11
`java- library`
12
12
`maven- publish`
13
+ signing
13
14
jacoco
14
- id(" com.jfrog.bintray" ) version " 1.8.5"
15
- id(" com.jaredsburrows.license" ) version " 0.8.42"
16
- id(" org.sonarqube" ) version " 3.0"
17
- id(" com.github.ben-manes.versions" ) version " 0.34.0"
15
+ id(" org.sonarqube" ) version " 3.3"
16
+ id(" com.github.ben-manes.versions" ) version " 0.42.0"
18
17
}
19
18
20
19
// In order to publish SNAPSHOTs to Sonatype Snapshots repository => the CI should define such `ossrhUsername` and `ossrhPassword` properties
@@ -27,26 +26,7 @@ if (!project.hasProperty("ossrhPassword")) {
27
26
project.extra[" ossrhPassword" ] = " bar"
28
27
}
29
28
30
- // Releases are published to Bintray under the Reactiverse organization
31
- // Then manually synced to Central
32
- bintray {
33
- user = System .getenv(" BINTRAY_USER" )
34
- key = System .getenv(" BINTRAY_KEY" )
35
- with (pkg) {
36
- userOrg = " reactiverse"
37
- repo = " releases"
38
- name = project.name
39
- setLicenses(" Apache-2.0" )
40
- vcsUrl = " https://github.com/reactiverse/aws-sdk"
41
- setLabels(" vertx" , " vert.x" , " aws-sdk" , " amazon web services" )
42
- publicDownloadNumbers = true
43
- with (version) {
44
- name = project.version.toString()
45
- description = " ${project.description} . Version: ${project.version} "
46
- }
47
- setPublications(" mavenJava" )
48
- }
49
- }
29
+ extra[" isReleaseVersion" ] = ! version.toString().endsWith(" SNAPSHOT" )
50
30
51
31
repositories {
52
32
mavenCentral()
81
61
}
82
62
83
63
jacoco {
84
- toolVersion = " 0.8.5 "
64
+ toolVersion = " 0.8.7 "
85
65
}
86
66
87
67
tasks {
@@ -94,9 +74,9 @@ tasks {
94
74
jacocoTestReport {
95
75
dependsOn(" :test" )
96
76
reports {
97
- xml.isEnabled = true
98
- csv.isEnabled = false
99
- html.destination = file(" $buildDir /jacocoHtml" )
77
+ xml.required.set( true )
78
+ csv.required.set( false )
79
+ html.outputLocation.set( file(" $buildDir /jacocoHtml" ) )
100
80
}
101
81
}
102
82
@@ -141,8 +121,12 @@ tasks {
141
121
)
142
122
}
143
123
124
+ withType<Sign > {
125
+ onlyIf { project.extra[" isReleaseVersion" ] as Boolean }
126
+ }
127
+
144
128
withType<Wrapper > {
145
- gradleVersion = " 6.5 "
129
+ gradleVersion = " 7.4 "
146
130
}
147
131
}
148
132
0 commit comments