Added new example with custom properties and template.
This commit is contained in:
parent
0fb4324d8d
commit
f801ce03fe
28 changed files with 533 additions and 65 deletions
10
build.gradle
10
build.gradle
|
@ -3,9 +3,10 @@ plugins {
|
|||
id 'java'
|
||||
id 'jacoco'
|
||||
id 'maven-publish'
|
||||
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 '0.9.9-beta'
|
||||
id 'net.thauvin.erik.gradle.semver' version '1.0.0'
|
||||
id 'com.github.spotbugs' version '1.7.1'
|
||||
id 'org.sonarqube' version '2.7'
|
||||
}
|
||||
|
@ -27,7 +28,7 @@ def mavenScmDevCon = 'git@github.com:ethauvin/semver.git'
|
|||
|
||||
def pkgLicenses = ['BSD 3-Clause']
|
||||
def pkgIssueTrackerUrl = mavenUrl + '/issues'
|
||||
def pkgLabels = ['java', 'annotation', 'processor', 'semantic', 'version']
|
||||
def pkgLabels = ['java', 'kotlin', 'annotation', 'processor', 'semantic', 'version']
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
targetCompatibility = 1.8
|
||||
|
@ -51,6 +52,11 @@ dependencies {
|
|||
testImplementation 'org.testng:testng:6.14.3'
|
||||
}
|
||||
|
||||
pmd {
|
||||
ruleSetFiles = files("config/pmd.xml")
|
||||
ruleSets = []
|
||||
}
|
||||
|
||||
bintray {
|
||||
user = project.hasProperty('bintrayUser') ? project.property('bintrayUser') : System.getenv('BINTRAY_USER')
|
||||
key = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') : System.getenv('BINTRAY_API_KEY')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue