aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle16
1 files changed, 15 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 005d8ae..bcca42e 100644
--- a/build.gradle
+++ b/build.gradle
@@ -21,7 +21,7 @@ apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'kotlin'
-version = '0.1.14'
+version = '1.0.0'
group = 'thedarkcolour.kotlinforforge' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = 'kotlinforforge'
@@ -114,6 +114,20 @@ shadowJar {
}
}
+jar {
+ manifest {
+ attributes([
+ "Specification-Title": "kotlinforforge",
+ "Specification-Vendor": "thedarkcolour",
+ "Specification-Version": "1", // We are version 1 of ourselves
+ "Implementation-Title": project.name,
+ "Implementation-Version": "${version}",
+ "Implementation-Vendor" :"thedarkcolour",
+ "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
+ ])
+ }
+}
+
// Example configuration to allow publishing using the maven-publish task
// we define a custom artifact that is sourced from the reobfJar output task
// and then declare that to be published