From c2f20f50840b18dd6e436164c23344f7cc2a2110 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Sat, 25 May 2019 11:19:15 -0700 Subject: [PATCH] Updated dependencies. --- build.gradle | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/build.gradle b/build.gradle index 1692ae4..ed37251 100644 --- a/build.gradle +++ b/build.gradle @@ -6,9 +6,9 @@ plugins { id 'pmd' id 'com.jfrog.bintray' version '1.8.4' id 'com.github.ben-manes.versions' version '0.21.0' - id 'net.thauvin.erik.gradle.semver' version '1.0.0' - id 'com.github.spotbugs' version '1.7.1' - id 'org.sonarqube' version '2.7' + id 'net.thauvin.erik.gradle.semver' version '1.0.2' + id 'com.github.spotbugs' version '2.0.0' + id 'org.sonarqube' version '2.7.1' } import com.github.spotbugs.SpotBugsTask @@ -18,17 +18,17 @@ defaultTasks 'check' group = 'net.thauvin.erik' -def mavenName = 'SemVer' -def mavenDescription = 'Semantic Version Annotation Processor' -def mavenUrl = 'https://github.com/ethauvin/semver' -def mavenLicense = 'The BSD 3-Clause License' -def mavenLicenseUrl = 'http://opensource.org/licenses/BSD-3-Clause' -def mavenScmCon = 'https://github.com/ethauvin/semver.git' -def mavenScmDevCon = 'git@github.com:ethauvin/semver.git' +final def mavenName = 'SemVer' +final def mavenDescription = 'Semantic Version Annotation Processor' +final def mavenUrl = 'https://github.com/ethauvin/semver' +final def mavenLicense = 'The BSD 3-Clause License' +final def mavenLicenseUrl = 'http://opensource.org/licenses/BSD-3-Clause' +final def mavenScmCon = 'https://github.com/ethauvin/semver.git' +final def mavenScmDevCon = 'git@github.com:ethauvin/semver.git' -def pkgLicenses = ['BSD 3-Clause'] -def pkgIssueTrackerUrl = mavenUrl + '/issues' -def pkgLabels = ['java', 'kotlin', 'annotation', 'processor', 'semantic', 'version'] +final def pkgLicenses = ['BSD 3-Clause'] +final def pkgIssueTrackerUrl = mavenUrl + '/issues' +final def pkgLabels = ['java', 'kotlin', 'annotation', 'processor', 'semantic', 'version'] sourceCompatibility = 1.8 targetCompatibility = 1.8 @@ -44,10 +44,10 @@ dependencies { implementation 'com.github.spullara.mustache.java:compiler:0.9.6' spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.9.0' - spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.4.3.sb' + spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.4.5' - compileOnly 'com.github.spotbugs:spotbugs-annotations:3.1.12' - testCompileOnly 'com.github.spotbugs:spotbugs-annotations:3.1.12' + compileOnly 'com.github.spotbugs:spotbugs-annotations:4.0.0-beta2' + testCompileOnly 'com.github.spotbugs:spotbugs-annotations:4.0.0-beta2' testImplementation 'org.testng:testng:6.14.3' @@ -79,6 +79,13 @@ bintray { } } +bintrayUpload { + versionName = "$project.version" + versionDesc = "$mavenName $project.version" + versionVcsTag = "$project.version" + versionReleased = new Date() +} + task javadocJar(type: Jar, dependsOn: javadoc) { group = 'Build' description = 'Builds an archive of the javadoc docs.' @@ -167,12 +174,6 @@ tasks.withType(Checkstyle) { } } -bintrayUpload { - versionName = "$project.version" - versionDesc = "version $project.version" - versionVcsTag = "$project.version" -} - task release(dependsOn: ['wrapper', 'clean', 'publishToMavenLocal']) { group = 'Publishing' description = 'Releases new version to local maven repository.'