Skip to content

Commit

Permalink
Use newer version of license-gradle-plugin that fixes skipExistingHea…
Browse files Browse the repository at this point in the history
…ders field
  • Loading branch information
Justin Ryan committed Mar 23, 2013
1 parent d87b66e commit c347787
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
ext.githubProjectName = rootProject.name // Change if github project name is not the same as the root project's name

buildscript {
repositories { mavenRepo url: 'http://jcenter.bintray.com' }
repositories {
mavenLocal()
maven { url 'http://jcenter.bintray.com' }
}
apply from: file('gradle/buildscript.gradle'), to: buildscript
}

Expand Down Expand Up @@ -44,4 +47,3 @@ project(':template-server') {
compile project(':template-client')
}
}

2 changes: 1 addition & 1 deletion gradle/buildscript.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repositories {
repositories { maven { url 'http://dl.bintray.com/content/netflixoss/external-gradle-plugins/' } } // For gradle-release
}
dependencies {
classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.6.0'
classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.6.1'
classpath 'com.mapvine:gradle-cobertura-plugin:0.1'
classpath 'gradle-release:gradle-release:1.1'
}
1 change: 1 addition & 0 deletions gradle/license.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ apply plugin: 'license' //nl.javadude.gradle.plugins.license.LicensePlugin
license {
header rootProject.file('codequality/HEADER')
ext.year = Calendar.getInstance().get(Calendar.YEAR)
skipExistingHeaders true
}
}

0 comments on commit c347787

Please sign in to comment.