Skip to content

Commit

Permalink
More complete name for distribution
Browse files Browse the repository at this point in the history
Former-commit-id: 896b37a
  • Loading branch information
Aurelien Mora committed Aug 2, 2018
1 parent da82323 commit ac1df10
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion org.sheepy.vulkan.sand/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.gradle.internal.os.OperatingSystem

plugins {
id 'java-library'
id 'application'
Expand All @@ -6,6 +8,8 @@ plugins {

mainClassName = 'org.sheepy.vulkan.sand.SandApplication'

project.ext.current_version = 'v1.0_RC2'

dependencies {

implementation 'com.google.guava:guava:24.1-jre'
Expand All @@ -14,8 +18,21 @@ dependencies {
api project(':org.sheepy.vulkan.imgui')
}


switch ( OperatingSystem.current() ) {
case OperatingSystem.WINDOWS:
project.ext.OS = "win"
break
case OperatingSystem.LINUX:
project.ext.OS = "linux"
break
case OperatingSystem.MAC_OS:
project.ext.OS = "macos"
break
}

distributions {
main {
baseName = 'VSand'
baseName = "VSand_${current_version}_$OS"
}
}

0 comments on commit ac1df10

Please sign in to comment.