mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-08 16:18:05 +03:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b5f0d4c9fb | ||
|
|
c10cb7f138 |
@@ -1,7 +1,7 @@
|
|||||||
= sshj - SSHv2 library for Java
|
= sshj - SSHv2 library for Java
|
||||||
Jeroen van Erp
|
Jeroen van Erp
|
||||||
:sshj_groupid: com.hierynomus
|
:sshj_groupid: com.hierynomus
|
||||||
:sshj_version: 0.24.0
|
:sshj_version: 0.25.0
|
||||||
:source-highlighter: pygments
|
:source-highlighter: pygments
|
||||||
|
|
||||||
image:https://api.bintray.com/packages/hierynomus/maven/sshj/images/download.svg[link="https://bintray.com/hierynomus/maven/sshj/_latestVersion"]
|
image:https://api.bintray.com/packages/hierynomus/maven/sshj/images/download.svg[link="https://bintray.com/hierynomus/maven/sshj/_latestVersion"]
|
||||||
|
|||||||
32
build.gradle
32
build.gradle
@@ -3,13 +3,13 @@ import com.bmuschko.gradle.docker.tasks.container.*
|
|||||||
import com.bmuschko.gradle.docker.tasks.image.*
|
import com.bmuschko.gradle.docker.tasks.image.*
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
|
id 'pl.allegro.tech.build.axion-release' version '1.9.0'
|
||||||
id "java"
|
id "java"
|
||||||
id "groovy"
|
id "groovy"
|
||||||
id "jacoco"
|
id "jacoco"
|
||||||
id "osgi"
|
id "osgi"
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
id "com.bmuschko.docker-remote-api" version "3.2.1"
|
id "com.bmuschko.docker-remote-api" version "3.2.1"
|
||||||
id 'pl.allegro.tech.build.axion-release' version '1.8.1'
|
|
||||||
id "com.github.hierynomus.license" version "0.12.1"
|
id "com.github.hierynomus.license" version "0.12.1"
|
||||||
id "com.jfrog.bintray" version "1.7"
|
id "com.jfrog.bintray" version "1.7"
|
||||||
id 'ru.vyarus.java-lib' version '1.0.5'
|
id 'ru.vyarus.java-lib' version '1.0.5'
|
||||||
@@ -20,6 +20,19 @@ plugins {
|
|||||||
|
|
||||||
group = "com.hierynomus"
|
group = "com.hierynomus"
|
||||||
|
|
||||||
|
scmVersion {
|
||||||
|
tag {
|
||||||
|
prefix = 'v'
|
||||||
|
versionSeparator = ''
|
||||||
|
}
|
||||||
|
hooks {
|
||||||
|
pre 'fileUpdate', [file: 'README.adoc', pattern: { v, c -> /:sshj_version: .*/}, replacement: { v, c -> ":sshj_version: $v" }]
|
||||||
|
pre 'commit'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
project.version = scmVersion.version
|
||||||
|
|
||||||
defaultTasks "build"
|
defaultTasks "build"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@@ -65,19 +78,6 @@ license {
|
|||||||
excludes(['**/djb/Curve25519.java', '**/sshj/common/Base64.java'])
|
excludes(['**/djb/Curve25519.java', '**/sshj/common/Base64.java'])
|
||||||
}
|
}
|
||||||
|
|
||||||
scmVersion {
|
|
||||||
tag {
|
|
||||||
prefix = 'v'
|
|
||||||
versionSeparator = ''
|
|
||||||
}
|
|
||||||
hooks {
|
|
||||||
pre 'fileUpdate', [file: 'README.adoc', pattern: { v, c -> /:sshj_version: .*/}, replacement: { v, c -> ":sshj_version: $v" }]
|
|
||||||
pre 'commit'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
project.version = scmVersion.version
|
|
||||||
|
|
||||||
// This disables the pedantic doclint feature of JDK8
|
// This disables the pedantic doclint feature of JDK8
|
||||||
if (JavaVersion.current().isJava8Compatible()) {
|
if (JavaVersion.current().isJava8Compatible()) {
|
||||||
tasks.withType(Javadoc) {
|
tasks.withType(Javadoc) {
|
||||||
@@ -229,8 +229,8 @@ if (project.hasProperty("bintrayUsername") && project.hasProperty("bintrayApiKey
|
|||||||
labels = ["ssh", "sftp", "secure-shell", "network", "file-transfer"]
|
labels = ["ssh", "sftp", "secure-shell", "network", "file-transfer"]
|
||||||
githubRepo = "hierynomus/sshj"
|
githubRepo = "hierynomus/sshj"
|
||||||
version {
|
version {
|
||||||
name = project.version.toString()
|
name = "${->project.version}"
|
||||||
vcsTag = "v${project.version}"
|
vcsTag = "v${->project.version}"
|
||||||
released = new SimpleDateFormat('yyyy-MM-dd\'T\'HH:mm:ss.SSSZZ').format(new Date())
|
released = new SimpleDateFormat('yyyy-MM-dd\'T\'HH:mm:ss.SSSZZ').format(new Date())
|
||||||
gpg {
|
gpg {
|
||||||
sign = true
|
sign = true
|
||||||
|
|||||||
Reference in New Issue
Block a user