Skip to content

Commit c347787

Browse files
author
Justin Ryan
committed
Use newer version of license-gradle-plugin that fixes skipExistingHeaders field
1 parent d87b66e commit c347787

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
ext.githubProjectName = rootProject.name // Change if github project name is not the same as the root project's name
33

44
buildscript {
5-
repositories { mavenRepo url: 'http://jcenter.bintray.com' }
5+
repositories {
6+
mavenLocal()
7+
maven { url 'http://jcenter.bintray.com' }
8+
}
69
apply from: file('gradle/buildscript.gradle'), to: buildscript
710
}
811

@@ -44,4 +47,3 @@ project(':template-server') {
4447
compile project(':template-client')
4548
}
4649
}
47-

gradle/buildscript.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repositories {
44
repositories { maven { url 'http://dl.bintray.com/content/netflixoss/external-gradle-plugins/' } } // For gradle-release
55
}
66
dependencies {
7-
classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.6.0'
7+
classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.6.1'
88
classpath 'com.mapvine:gradle-cobertura-plugin:0.1'
99
classpath 'gradle-release:gradle-release:1.1'
1010
}

gradle/license.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ apply plugin: 'license' //nl.javadude.gradle.plugins.license.LicensePlugin
55
license {
66
header rootProject.file('codequality/HEADER')
77
ext.year = Calendar.getInstance().get(Calendar.YEAR)
8+
skipExistingHeaders true
89
}
910
}

0 commit comments

Comments
 (0)