mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-21 14:55:17 +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
|
||||||
.gradle
|
.gradle
|
||||||
**/build/
|
**/build/
|
||||||
/buildSrc/
|
|
||||||
!src/**/build/
|
!src/**/build/
|
||||||
.gradletasknamecache
|
.gradletasknamecache
|
||||||
!gradle-wrapper.jar
|
!gradle-wrapper.jar
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
import org.gradle.api.tasks.compile.JavaCompile
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'com.github.johnrengelman.shadow' version '5.2.0'
|
id 'com.github.johnrengelman.shadow' version '5.2.0'
|
||||||
id 'java'
|
id 'java'
|
||||||
@ -49,7 +51,12 @@ jar {
|
|||||||
archiveFileName = findProperty("plugin-name") + " v" + findProperty("version") + " " + "unshaded" + ".jar"
|
archiveFileName = findProperty("plugin-name") + " v" + findProperty("version") + " " + "unshaded" + ".jar"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType(JavaCompile) {
|
||||||
|
options.encoding = 'UTF-8'
|
||||||
|
}
|
||||||
|
|
||||||
compileJava.dependsOn clean
|
compileJava.dependsOn clean
|
||||||
build.dependsOn shadowJar
|
build.dependsOn shadowJar
|
||||||
|
|
||||||
description = 'EcoEnchants'
|
description = 'EcoEnchants'
|
||||||
|
compileJava.options.encoding = 'UTF-8'
|
||||||
|
11
build.gradle
11
build.gradle
@ -93,6 +93,11 @@ allprojects {
|
|||||||
url 'https://repo.extendedclip.com/content/repositories/placeholderapi/'
|
url 'https://repo.extendedclip.com/content/repositories/placeholderapi/'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType(JavaCompile) {
|
||||||
|
options.encoding = 'UTF-8'
|
||||||
|
}
|
||||||
|
compileJava.options.encoding = 'UTF-8'
|
||||||
}
|
}
|
||||||
|
|
||||||
group = 'com.willfp.ecoenchants'
|
group = 'com.willfp.ecoenchants'
|
||||||
@ -106,8 +111,4 @@ publishing {
|
|||||||
from(components.java)
|
from(components.java)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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