Added license info to the header of all files.

This commit is contained in:
modmuss50 2017-02-23 12:29:43 +00:00
parent 5d60e10806
commit 26c208e811
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82
510 changed files with 12202 additions and 1 deletions

View file

@ -12,21 +12,27 @@ buildscript {
maven {
name = "Modmuss50"
url = "http://maven.modmuss50.me/"
}
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
classpath "gradle.plugin.net.minecrell:licenser:0.2.1"
}
}
apply plugin: 'net.minecraftforge.gradle.forge'
apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: net.minecrell.gradle.licenser.Licenser
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven {
name = "Modmuss50"
@ -83,6 +89,12 @@ minecraft {
runDir = "run"
}
license {
header file('HEADER')
include '**/*.java'
ignoreFailures = true //Stops the build from failing if a file does not have a license header
}
group = 'TechReborn'
def grabDep(name, url){