Skip to content

Commit

Permalink
nebula.neflixoss-3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
brharrington committed Sep 14, 2015
1 parent 6590963 commit 38f71af
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}

plugins {
id 'nebula.netflixoss' version '2.2.9'
id 'nebula.netflixoss' version '3.1.1'
id 'me.champeau.gradle.jmh' version '0.2.0'
}

Expand All @@ -17,6 +17,10 @@ allprojects {
apply plugin: 'project-report'
apply plugin: 'me.champeau.gradle.jmh'
apply plugin: 'com.github.ben-manes.versions'

task wrapper(type: Wrapper) {
gradleVersion = '2.6'
}
}

subprojects {
Expand Down Expand Up @@ -96,6 +100,7 @@ subprojects {
}

pmd {
toolVersion = '5.3.3'
ignoreFailures = false
sourceSets = [sourceSets.main]
ruleSets = []
Expand Down
8 changes: 6 additions & 2 deletions codequality/pmd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<exclude name="AddEmptyString"/>
<exclude name="AppendCharacterWithChar"/>
<exclude name="ArrayIsStoredDirectly"/>
<exclude name="AtLeastOneConstructor"/>
<exclude name="AvoidCatchingGenericException"/>
<exclude name="AvoidDuplicateLiterals"/>
<exclude name="AvoidFieldNameMatchingMethodName"/>
Expand Down Expand Up @@ -51,6 +52,7 @@
<exclude name="LoosePackageCoupling"/>
<exclude name="MethodArgumentCouldBeFinal"/>
<exclude name="MethodReturnsInternalArray"/>
<exclude name="ModifiedCyclomaticComplexity"/>
<exclude name="NullAssignment"/>
<exclude name="OneDeclarationPerLine"/>
<exclude name="OnlyOneReturn"/>
Expand All @@ -60,18 +62,20 @@
<exclude name="SimpleDateFormatNeedsLocale"/>
<exclude name="SimplifyConditional"/>
<exclude name="ShortClassName"/>
<exclude name="ShortMethod"/>
<exclude name="ShortMethodName"/>
<exclude name="ShortMethodName"/>
<exclude name="ShortVariable"/>
<exclude name="StdCyclomaticComplexity"/>
<exclude name="TooManyFields"/>
<exclude name="TooManyMethods"/>
<exclude name="UncommentedEmptyMethod"/>
<exclude name="UncommentedEmptyMethodBody"/>
<exclude name="UnusedPrivateMethod"/>
<exclude name="UnnecessaryConstructor"/>
<exclude name="UnnecessaryParentheses"/>
<exclude name="UseConcurrentHashMap"/>
<exclude name="UseIndexOfChar"/>
<exclude name="UselessParentheses"/>
<exclude name="UseStringBufferForStringAppends"/>
<exclude name="UseVarargs"/>
</rule>
</ruleset>
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Aug 19 00:23:55 PDT 2015
#Mon Sep 14 13:02:36 PDT 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.6-bin.zip
9 changes: 7 additions & 2 deletions spectator-ext-spark/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ shadowJar {
}
}

import nebula.plugin.publishing.component.CustomComponentPlugin
CustomComponentPlugin.addArtifact(project, 'shadow', shadowJar)
publishing {
publications {
nebula(MavenPublication) {
artifact shadowJar
}
}
}

0 comments on commit 38f71af

Please sign in to comment.