diff --git a/build.gradle b/build.gradle index c5029b5..6e2f625 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ buildscript { mavenCentral() } dependencies { - classpath group: 'org.mini2Dx', name: 'butler', version: '1.1.3' + classpath group: 'org.mini2Dx', name: 'butler', version: '2.1.0' } } @@ -20,6 +20,7 @@ subprojects { mavenCentral() maven { url "https://maven.pkg.github.com/ealrann/emf-standalone" + maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } credentials { username = findProperty("github.username") password = findProperty("github.token") diff --git a/butler_push.txt b/butler_push.txt new file mode 100644 index 0000000..6ac67f5 --- /dev/null +++ b/butler_push.txt @@ -0,0 +1 @@ +butler push /dev/shm/gradle-build/ ealrann/vsand:linux --userversion 1.4.1 \ No newline at end of file diff --git a/org.sheepy.vsand/build.gradle b/org.sheepy.vsand/build.gradle index 06cd0b6..8fbc9c6 100644 --- a/org.sheepy.vsand/build.gradle +++ b/org.sheepy.vsand/build.gradle @@ -58,15 +58,16 @@ butler { user = "ealrann" game = "vsand" userVersion = project.version +} - windows { - binDirectory = "$projectDir/build/image" - channel = "windows" - } - linux { - binDirectory = "$projectDir/build/image" - channel = "linux" - } +task butlerPushWindows(type: org.mini2Dx.butler.task.PushTask) { + binDirectory = new File("$projectDir/build/image/") + channel = "windows" +} + +task butlerPushLinux(type: org.mini2Dx.butler.task.PushTask) { + binDirectory = new File("$projectDir/build/image") + channel = "linux" } run {