From c300a08879cf232d1da9081f9f1f16844578e56a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Mora?= Date: Wed, 19 Jun 2019 17:11:27 +0200 Subject: [PATCH] Add butler support (for itch.io) --- build.gradle | 1 + org.sheepy.vsand/build.gradle | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/build.gradle b/build.gradle index cc8fc7dd..133a8f05 100644 --- a/build.gradle +++ b/build.gradle @@ -11,6 +11,7 @@ buildscript { } dependencies { classpath "org.javamodularity:moduleplugin:1.5.0" + classpath "org.mini2Dx:butler:1.1.3" } } diff --git a/org.sheepy.vsand/build.gradle b/org.sheepy.vsand/build.gradle index 99ef87df..04543c65 100644 --- a/org.sheepy.vsand/build.gradle +++ b/org.sheepy.vsand/build.gradle @@ -3,6 +3,7 @@ import org.gradle.internal.os.OperatingSystem plugins { id 'application' id 'distribution' + id 'org.mini2Dx.butler' id 'org.beryx.jlink' version '2.10.4' } @@ -16,6 +17,23 @@ jlink { } } + +butler { + user = "ealrann" + game = "vsand" + userVersion = project.version + + windows { + binDirectory = "$projectDir/build/image" + channel = "windows" + } + linux { + binDirectory = "$projectDir/build/image" + channel = "linux" + } +} + + mainClassName = 'org.sheepy.vsand/org.sheepy.vsand.VSandApplicationLauncher' jar { manifest {