mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-28 04:25:37 +00:00
[Fabric] disable license/checkstyle in buildscript for now
This commit is contained in:
1 parent
762731bd90
commit
2e28b654d8
1 file changed
+1
-32
+1
-32
@@ -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']
|
||||
|
||||
Reference in new issue
Block a user