mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-24 15:25:18 +01:00
Fixed charset
This commit is contained in:
parent
3362f4d772
commit
19f8d9330c
1
.gitignore
vendored
1
.gitignore
vendored
@ -14,7 +14,6 @@ bin/
|
||||
# Gradle
|
||||
.gradle
|
||||
**/build/
|
||||
/buildSrc/
|
||||
!src/**/build/
|
||||
.gradletasknamecache
|
||||
!gradle-wrapper.jar
|
||||
|
@ -1,3 +1,5 @@
|
||||
import org.gradle.api.tasks.compile.JavaCompile
|
||||
|
||||
plugins {
|
||||
id 'com.github.johnrengelman.shadow' version '5.2.0'
|
||||
id 'java'
|
||||
@ -49,7 +51,12 @@ jar {
|
||||
archiveFileName = findProperty("plugin-name") + " v" + findProperty("version") + " " + "unshaded" + ".jar"
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = 'UTF-8'
|
||||
}
|
||||
|
||||
compileJava.dependsOn clean
|
||||
build.dependsOn shadowJar
|
||||
|
||||
description = 'EcoEnchants'
|
||||
compileJava.options.encoding = 'UTF-8'
|
||||
|
@ -93,6 +93,11 @@ allprojects {
|
||||
url 'https://repo.extendedclip.com/content/repositories/placeholderapi/'
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = 'UTF-8'
|
||||
}
|
||||
compileJava.options.encoding = 'UTF-8'
|
||||
}
|
||||
|
||||
group = 'com.willfp.ecoenchants'
|
||||
@ -107,7 +112,3 @@ publishing {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = 'UTF-8'
|
||||
}
|
||||
|
@ -1,13 +0,0 @@
|
||||
/*
|
||||
* This file was generated by the Gradle 'init' task.
|
||||
*/
|
||||
|
||||
plugins {
|
||||
// Support convention plugins written in Groovy. Convention plugins are build scripts in 'src/main' that automatically become available as plugins in the main build.
|
||||
id 'groovy-gradle-plugin'
|
||||
}
|
||||
|
||||
repositories {
|
||||
// Use the plugin portal to apply community plugins in convention plugins.
|
||||
gradlePluginPortal()
|
||||
}
|
Loading…
Reference in New Issue
Block a user