mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-22 10:35:16 +01:00
Prepare spotless for future application
This commit is contained in:
parent
6a6e8a64bc
commit
ea6c195c91
40
build.gradle
40
build.gradle
@ -4,11 +4,12 @@ plugins {
|
||||
id 'com.github.johnrengelman.shadow' version '6.1.0'
|
||||
id 'com.github.hierynomus.license' version '0.16.1'
|
||||
id 'com.palantir.git-version' version '0.12.3'
|
||||
// id 'com.diffplug.spotless' version '5.14.2'
|
||||
}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
jcenter()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
maven {
|
||||
url 'https://jitpack.io'
|
||||
@ -22,12 +23,12 @@ allprojects {
|
||||
url 'https://repo.codemc.org/repository/maven-public/'
|
||||
}
|
||||
maven {
|
||||
url "https://libraries.minecraft.net"
|
||||
url "https://libraries.minecraft.net"
|
||||
}
|
||||
maven {
|
||||
name 'Fabric'
|
||||
url 'https://maven.fabricmc.net/'
|
||||
}
|
||||
maven {
|
||||
name 'Fabric'
|
||||
url 'https://maven.fabricmc.net/'
|
||||
}
|
||||
}
|
||||
|
||||
compileJava.options.compilerArgs.add '-parameters'
|
||||
@ -41,16 +42,16 @@ allprojects {
|
||||
apply plugin: 'java-library'
|
||||
|
||||
group = 'de.bluecolored.bluemap'
|
||||
version = coreVersion
|
||||
version = coreVersion
|
||||
|
||||
apply plugin: 'license'
|
||||
license {
|
||||
apply plugin: 'license'
|
||||
license {
|
||||
header rootProject.file('HEADER')
|
||||
excludes([
|
||||
'**/*.conf',
|
||||
'**/*.yml',
|
||||
'**/*.zip',
|
||||
'**/*.json'
|
||||
'**/*.conf',
|
||||
'**/*.yml',
|
||||
'**/*.zip',
|
||||
'**/*.json'
|
||||
])
|
||||
}
|
||||
}
|
||||
@ -62,3 +63,16 @@ subprojects {
|
||||
sourceCompatibility = 1.8
|
||||
targetCompatibility = 1.8
|
||||
}
|
||||
|
||||
|
||||
//spotless {
|
||||
// java {
|
||||
// indentWithSpaces()
|
||||
// trimTrailingWhitespace()
|
||||
//
|
||||
// target fileTree(project.rootDir) {
|
||||
// include '**/*.java'
|
||||
// exclude '**/build/**'
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
Loading…
Reference in New Issue
Block a user