File tree Expand file tree Collapse file tree 3 files changed +27
-4
lines changed Expand file tree Collapse file tree 3 files changed +27
-4
lines changed Original file line number Diff line number Diff line change 11language : java
2+ dist : trusty
3+ sudo : false
4+
25before_cache :
36 - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
7+
48cache :
59 directories :
610 - $HOME/.gradle/caches/
711 - $HOME/.gradle/wrapper/
8- sudo : false
9- dist : trusty
12+
1013jdk :
1114 - oraclejdk8
1215 - openjdk8
1316 - oraclejdk9
17+
18+ before_install :
19+ - pip install --user codecov
20+
21+ after_success :
22+ - codecov
Original file line number Diff line number Diff line change @@ -4,8 +4,11 @@ Jeroen van Erp
44:sshj_version: 0.23.0
55:source-highlighter: pygments
66
7+ image:https://api.bintray.com/packages/hierynomus/maven/sshj/images/download.svg[link="https://bintray.com/hierynomus/maven/sshj/_latestVersion"]
78image:https://travis-ci.org/hierynomus/sshj.svg?branch=master[link="https://travis-ci.org/hierynomus/sshj"]
89image:https://api.codacy.com/project/badge/Grade/14a0a316bb9149739b5ea26dbfa8da8a["Codacy code quality", link="https://www.codacy.com/app/jeroen_2/sshj?utm_source=github.com&utm_medium=referral&utm_content=hierynomus/sshj&utm_campaign=Badge_Grade"]
10+ image:https://codecov.io/gh/hierynomus/sshj/branch/master/graph/badge.svg["codecov", link="https://codecov.io/gh/hierynomus/sshj"]
11+ image:http://www.javadoc.io/badge/com.hierynomus/sshj.svg?color=blue["JavaDocs", link="http://www.javadoc.io/doc/com.hierynomus/sshj"]
912image:https://maven-badges.herokuapp.com/maven-central/com.hierynomus/sshj/badge.svg["Maven Central",link="https://maven-badges.herokuapp.com/maven-central/com.hierynomus/sshj"]
1013image:https://javadoc-emblem.rhcloud.com/doc/com.hierynomus/sshj/badge.svg["Javadoc",link="http://www.javadoc.io/doc/com.hierynomus/sshj"]
1114
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import java.text.SimpleDateFormat
33plugins {
44 id " java"
55 id " groovy"
6+ id " jacoco"
67 id " osgi"
78 id " maven-publish"
89 id ' pl.allegro.tech.build.axion-release' version ' 1.8.1'
@@ -30,7 +31,7 @@ targetCompatibility = 1.6
3031
3132configurations. compile. transitive = false
3233
33- def bouncycastleVersion = " 1.56 "
34+ def bouncycastleVersion = " 1.57 "
3435
3536dependencies {
3637 signature ' org.codehaus.mojo.signature:java16:1.1@signature'
@@ -111,7 +112,7 @@ jar {
111112 }
112113}
113114
114- sourcesJar {
115+ sourcesJar {
115116 manifest {
116117 attributes(
117118 // Add the needed OSGI attributes
@@ -222,5 +223,15 @@ if (project.hasProperty("bintrayUsername") && project.hasProperty("bintrayApiKey
222223 }
223224}
224225
226+ jacocoTestReport {
227+ reports {
228+ xml. enabled true
229+ html. enabled true
230+ }
231+ }
232+
233+
225234project. tasks. release. dependsOn(project. tasks. build)
226235project. tasks. release. finalizedBy(project. tasks. bintrayUpload)
236+ project. tasks. jacocoTestReport. dependsOn(project. tasks. test)
237+ project. tasks. check. dependsOn(project. tasks. jacocoTestReport)
You can’t perform that action at this time.
0 commit comments