mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI.git
synced 2024-12-27 03:17:45 +01:00
Merge pull request #935 from PlaceholderAPI/fix/kotlin-build-system
This commit is contained in:
commit
0ae0ddc9cb
@ -65,6 +65,10 @@ tasks {
|
|||||||
eachFile { expand("version" to project.version) }
|
eachFile { expand("version" to project.version) }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
build {
|
||||||
|
dependsOn(named("shadowJar"))
|
||||||
|
}
|
||||||
|
|
||||||
withType<JavaCompile> {
|
withType<JavaCompile> {
|
||||||
options.encoding = "UTF-8"
|
options.encoding = "UTF-8"
|
||||||
}
|
}
|
||||||
@ -114,7 +118,7 @@ tasks {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
publish.get().setDependsOn(listOf(clean.get(), test.get(), jar.get()))
|
publish.get().setDependsOn(listOf(build.get()))
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
name: "@name@"
|
name: PlaceholderAPI
|
||||||
main: "me.clip.placeholderapi.PlaceholderAPIPlugin"
|
main: "me.clip.placeholderapi.PlaceholderAPIPlugin"
|
||||||
|
|
||||||
version: "@version@"
|
version: ${version}
|
||||||
author: HelpChat
|
author: HelpChat
|
||||||
|
|
||||||
api-version: "1.13"
|
api-version: "1.13"
|
||||||
description: "@description@"
|
description: "An awesome placeholder provider!"
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
placeholderapi:
|
placeholderapi:
|
||||||
|
Loading…
Reference in New Issue
Block a user