Updated dependencies.
This commit is contained in:
parent
d689ade3a1
commit
c2f20f5084
1 changed files with 23 additions and 22 deletions
45
build.gradle
45
build.gradle
|
@ -6,9 +6,9 @@ plugins {
|
||||||
id 'pmd'
|
id 'pmd'
|
||||||
id 'com.jfrog.bintray' version '1.8.4'
|
id 'com.jfrog.bintray' version '1.8.4'
|
||||||
id 'com.github.ben-manes.versions' version '0.21.0'
|
id 'com.github.ben-manes.versions' version '0.21.0'
|
||||||
id 'net.thauvin.erik.gradle.semver' version '1.0.0'
|
id 'net.thauvin.erik.gradle.semver' version '1.0.2'
|
||||||
id 'com.github.spotbugs' version '1.7.1'
|
id 'com.github.spotbugs' version '2.0.0'
|
||||||
id 'org.sonarqube' version '2.7'
|
id 'org.sonarqube' version '2.7.1'
|
||||||
}
|
}
|
||||||
|
|
||||||
import com.github.spotbugs.SpotBugsTask
|
import com.github.spotbugs.SpotBugsTask
|
||||||
|
@ -18,17 +18,17 @@ defaultTasks 'check'
|
||||||
|
|
||||||
group = 'net.thauvin.erik'
|
group = 'net.thauvin.erik'
|
||||||
|
|
||||||
def mavenName = 'SemVer'
|
final def mavenName = 'SemVer'
|
||||||
def mavenDescription = 'Semantic Version Annotation Processor'
|
final def mavenDescription = 'Semantic Version Annotation Processor'
|
||||||
def mavenUrl = 'https://github.com/ethauvin/semver'
|
final def mavenUrl = 'https://github.com/ethauvin/semver'
|
||||||
def mavenLicense = 'The BSD 3-Clause License'
|
final def mavenLicense = 'The BSD 3-Clause License'
|
||||||
def mavenLicenseUrl = 'http://opensource.org/licenses/BSD-3-Clause'
|
final def mavenLicenseUrl = 'http://opensource.org/licenses/BSD-3-Clause'
|
||||||
def mavenScmCon = 'https://github.com/ethauvin/semver.git'
|
final def mavenScmCon = 'https://github.com/ethauvin/semver.git'
|
||||||
def mavenScmDevCon = 'git@github.com:ethauvin/semver.git'
|
final def mavenScmDevCon = 'git@github.com:ethauvin/semver.git'
|
||||||
|
|
||||||
def pkgLicenses = ['BSD 3-Clause']
|
final def pkgLicenses = ['BSD 3-Clause']
|
||||||
def pkgIssueTrackerUrl = mavenUrl + '/issues'
|
final def pkgIssueTrackerUrl = mavenUrl + '/issues'
|
||||||
def pkgLabels = ['java', 'kotlin', 'annotation', 'processor', 'semantic', 'version']
|
final def pkgLabels = ['java', 'kotlin', 'annotation', 'processor', 'semantic', 'version']
|
||||||
|
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
targetCompatibility = 1.8
|
targetCompatibility = 1.8
|
||||||
|
@ -44,10 +44,10 @@ dependencies {
|
||||||
implementation 'com.github.spullara.mustache.java:compiler:0.9.6'
|
implementation 'com.github.spullara.mustache.java:compiler:0.9.6'
|
||||||
|
|
||||||
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.9.0'
|
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'
|
compileOnly 'com.github.spotbugs:spotbugs-annotations:4.0.0-beta2'
|
||||||
testCompileOnly 'com.github.spotbugs:spotbugs-annotations:3.1.12'
|
testCompileOnly 'com.github.spotbugs:spotbugs-annotations:4.0.0-beta2'
|
||||||
|
|
||||||
|
|
||||||
testImplementation 'org.testng:testng:6.14.3'
|
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) {
|
task javadocJar(type: Jar, dependsOn: javadoc) {
|
||||||
group = 'Build'
|
group = 'Build'
|
||||||
description = 'Builds an archive of the javadoc docs.'
|
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']) {
|
task release(dependsOn: ['wrapper', 'clean', 'publishToMavenLocal']) {
|
||||||
group = 'Publishing'
|
group = 'Publishing'
|
||||||
description = 'Releases new version to local maven repository.'
|
description = 'Releases new version to local maven repository.'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue