[Fabric] disable license/checkstyle in buildscript for now

This commit is contained in:
asie committed 2019-09-16 19:46:54 +02:00
1 parent 762731bd90
commit 2e28b654d8
1 file changed
+1 -32
+1 -32
View File
@@ -4,22 +4,19 @@ buildscript {
jcenter()
}
dependencies {
classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.11.0'
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.4'
}
}
// Apply plugin
apply plugin: 'java'
apply plugin: 'license'
apply plugin: 'checkstyle'
apply plugin: 'maven-publish'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'com.github.johnrengelman.shadow'
// Default tasks
defaultTasks 'licenseFormat', 'check', 'build'
defaultTasks 'build'
// Basic project information
group = 'net.fabricmc'
@@ -182,34 +179,6 @@ processResources {
from 'LICENSE.txt'
}
// License header formatting
license {
ext {
name = project.name
organization = project.organization
url = project.url
}
include '**/*.java'
header file("HEADER.txt")
sourceSets = project.sourceSets
ignoreFailures false
strictCheck true
mapping {
java = 'SLASHSTAR_STYLE'
}
}
checkstyle {
configProperties = [
"name" : project.name,
"organization": project.organization,
"url" : project.url,
"year" : project.inceptionYear
]
configFile = file("checkstyle.xml")
toolVersion = '8.10'
}
// Source compiler configuration
tasks.withType(JavaCompile) {
options.compilerArgs += ['-Xlint:all', '-Xlint:-path', '-proc:none']