diff --git a/worldguard-bukkit/build.gradle.kts b/worldguard-bukkit/build.gradle.kts index e9f11501..e3aabd7f 100644 --- a/worldguard-bukkit/build.gradle.kts +++ b/worldguard-bukkit/build.gradle.kts @@ -48,14 +48,18 @@ } tasks.named("processResources") { + val internalVersion = project.ext["internalVersion"] + inputs.property("internalVersion", internalVersion) filesMatching("plugin.yml") { - expand("internalVersion" to project.ext["internalVersion"]) + expand("internalVersion" to internalVersion) } } tasks.named("jar") { + val projectVersion = project.version + inputs.property("projectVersion", projectVersion) manifest { - attributes("Implementation-Version" to project.version) + attributes("Implementation-Version" to projectVersion) } }