Skip to content

Commit

Permalink
Make some small refactoring changes to the build file
Browse files Browse the repository at this point in the history
  • Loading branch information
jguerinet committed Nov 17, 2018
1 parent 765a5d4 commit 82e2e42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ apply plugin: 'kotlinx-serialization'

mainClassName = "com.guerinet.weave.Weave"
sourceCompatibility = 1.8
version = sp_version
version = weave_version

repositories {
jcenter()
Expand All @@ -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) }
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 82e2e42

Please sign in to comment.