From bd47e55869641cb05af3980925cb1d61ffff3819 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Mon, 22 Mar 2021 10:52:45 -0700 Subject: [PATCH] Cleanup. --- .travis.yml | 3 ++- build.gradle | 11 +---------- version.properties | 4 ++-- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8e4fd13..7ee8f56 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ dist: trusty jdk: - oraclejdk8 + - openjdk14 addons: sonarcloud: @@ -13,6 +14,6 @@ before_install: after_success: - | - if [ "${TRAVIS_TEST_RESULT}" == 0 ]; then + if [ "${TRAVIS_TEST_RESULT}" == 0 ] && [ "$TRAVIS_JDK_VERSION" == "openjdk14" ]; then ./gradlew sonarqube fi diff --git a/build.gradle b/build.gradle index c80858d..f7ab512 100644 --- a/build.gradle +++ b/build.gradle @@ -28,10 +28,6 @@ def mavenLicenseUrl = 'http://opensource.org/licenses/BSD-3-Clause' def mavenScmCon = 'https://github.com/ethauvin/HttpStatus.git' def mavenScmDevCon = 'git@github.com:ethauvin/HttpStatus.git' -def pkgLicenses = ['BSD 3-Clause'] -def pkgIssueTrackerUrl = mavenUrl + '/issues' -def pkgLabels = ['jsp', 'tag library', 'http', 'status code', 'java'] - group = 'net.thauvin.erik.httpstatus' mainClassName = 'net.thauvin.erik.httpstatus.Reasons' @@ -117,10 +113,6 @@ tasks.withType(Checkstyle) { } } -artifacts { - archives javadocJar, sourcesJar -} - publishing { publications { mavenJava(MavenPublication) { @@ -136,7 +128,6 @@ publishing { license { name = mavenLicense url = mavenLicenseUrl - distribution = 'repo' } } developers { @@ -150,7 +141,7 @@ publishing { scm { connection = 'scm:git:' + mavenScmCon developerConnection = 'scm:git:' + mavenScmDevCon - url = mavenScmCon + url = mavenUrl } } } diff --git a/version.properties b/version.properties index 106b8b6..2759f0f 100644 --- a/version.properties +++ b/version.properties @@ -3,6 +3,6 @@ version.buildmeta= version.major=1 version.minor=0 -version.patch=5 +version.patch=6 version.prerelease= -version.semver=1.0.5 +version.semver=1.0.6