We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 77b245d + 1b200d3 commit 1176318Copy full SHA for 1176318
build.gradle.kts
@@ -18,7 +18,11 @@ dependencies {
18
}
19
20
tasks {
21
- java {
+ jar {
22
+ manifest {
23
+ attributes["Implementation-Title"] = "server"
24
+ attributes["Implementation-Version"] = project.version
25
+ }
26
targetCompatibility = JavaVersion.VERSION_1_8
27
sourceCompatibility = JavaVersion.VERSION_1_8
28
src/main/java/at/helpch/placeholderapi/expansion/server/ServerExpansion.java
@@ -63,7 +63,7 @@ public final class ServerExpansion extends PlaceholderExpansion implements Cache
63
64
@Override
65
public @NotNull String getVersion() {
66
- return "2.7.2";
+ return getClass().getPackage().getImplementationVersion();
67
68
69
0 commit comments