Skip to content

Commit

Permalink
Re-enabled license plugin, now that a workaround for the stacktrace h…
Browse files Browse the repository at this point in the history
…as been found
  • Loading branch information
ysb33r committed Apr 27, 2015
1 parent a8f023a commit c2eee55
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ buildscript {
classpath 'org.ysb33r.gradle:bintray:1.5'
classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:3.1.0'
classpath "com.gradle.publish:plugin-publish-plugin:0.9.0"
// TODO: Re-enable licensing plugin after issue #67 is fixed

// See: https://github.com/hierynomus/license-gradle-plugin/issues/67
// classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.11.0'
classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.11.0', {
exclude module : 'guava'
}
}
}

Expand All @@ -33,8 +35,7 @@ apply plugin : 'groovy'
apply plugin : 'maven'
apply plugin : 'com.jfrog.artifactory'
apply plugin : 'com.gradle.plugin-publish'
// TODO: Re-enable after issue #67 fixed.
//apply plugin : 'com.github.hierynomus.license'
apply plugin : 'com.github.hierynomus.license'

group = 'org.ysb33r.gradle'
archivesBaseName = 'gnumake'
Expand Down Expand Up @@ -138,20 +139,19 @@ pluginBundle {
artifactId = 'gnumake'
}

// onlyIf { !version.endsWith("SNAPSHOT") }
}

publishPlugins {
onlyIf { !version.endsWith("SNAPSHOT") }
}

//license {
// header = rootProject.file('config/HEADER')
// strictCheck = true
// ignoreFailures = false
// mapping {
// groovy ='DOUBLESLASH_STYLE'
// }
// ext.year = '2013-2015'
// excludes(['**/*.ad', '**/*.asciidoc', '**/*.adoc', '**/*.md','**/*.properties'])
//}
license {
header = rootProject.file('config/HEADER')
strictCheck = true
ignoreFailures = false
mapping {
groovy ='DOUBLESLASH_STYLE'
}
ext.year = '2013-2015'
excludes(['**/*.ad', '**/*.asciidoc', '**/*.adoc', '**/*.md','**/*.properties'])
}

0 comments on commit c2eee55

Please sign in to comment.