add license plugin.
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
apply plugin: 'rebel'
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
@@ -26,6 +24,18 @@ buildscript {
|
||||
}
|
||||
}
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.5.0'
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'rebel'
|
||||
apply plugin: 'license'
|
||||
apply plugin: 'war'
|
||||
apply plugin: 'eclipse'
|
||||
apply plugin: 'idea'
|
||||
@@ -148,6 +158,11 @@ dependencies {
|
||||
|
||||
}
|
||||
|
||||
license {
|
||||
header rootProject.file('../LICENSE.MD')
|
||||
strictCheck true
|
||||
}
|
||||
|
||||
[tomcatRun, tomcatRunWar, tomcatStop]*.with {
|
||||
configFile = file('src/test/resources/META-INF/context.xml')
|
||||
httpPort = 8080
|
||||
|
||||
Reference in New Issue
Block a user