mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI.git
synced 2024-12-26 02:48:14 +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) }
|
||||
}
|
||||
|
||||
build {
|
||||
dependsOn(named("shadowJar"))
|
||||
}
|
||||
|
||||
withType<JavaCompile> {
|
||||
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 {
|
||||
|
@ -1,11 +1,11 @@
|
||||
name: "@name@"
|
||||
name: PlaceholderAPI
|
||||
main: "me.clip.placeholderapi.PlaceholderAPIPlugin"
|
||||
|
||||
version: "@version@"
|
||||
version: ${version}
|
||||
author: HelpChat
|
||||
|
||||
api-version: "1.13"
|
||||
description: "@description@"
|
||||
description: "An awesome placeholder provider!"
|
||||
|
||||
commands:
|
||||
placeholderapi:
|
||||
|
Loading…
Reference in New Issue
Block a user