From 82e2e42b059bda67fb13308b767b26ace6fed26c Mon Sep 17 00:00:00 2001 From: Julien Guerinet Date: Sat, 17 Nov 2018 16:33:27 -0500 Subject: [PATCH] Make some small refactoring changes to the build file --- build.gradle | 4 ++-- gradle.properties | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index a62c1ed..4b5ba4c 100644 --- a/build.gradle +++ b/build.gradle @@ -36,7 +36,7 @@ apply plugin: 'kotlinx-serialization' mainClassName = "com.guerinet.weave.Weave" sourceCompatibility = 1.8 -version = sp_version +version = weave_version repositories { jcenter() @@ -47,7 +47,7 @@ task fatJar(type: Jar) { // Add the sources to the jar from sourceSets.main.allSource manifest { - attributes 'Main-Class': 'com.guerinet.weave.Weave' + attributes 'Main-Class': mainClassName } from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } diff --git a/gradle.properties b/gradle.properties index 1eba78b..a36b184 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,7 +16,7 @@ # # Project properties -sp_version=5.0.0 +weave_version=5.0.0 artifact_name=weave artifact_main_class=com.guerinet.weave.Weave group=com.guerinet