From 2e28b654d8d846636cd6b62afbea6a1ec18f4723 Mon Sep 17 00:00:00 2001 From: asie Date: Mon, 16 Sep 2019 19:46:48 +0200 Subject: [PATCH] [Fabric] disable license/checkstyle in buildscript for now --- build.gradle | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/build.gradle b/build.gradle index fec09400..e59acd1a 100644 --- a/build.gradle +++ b/build.gradle @@ -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']