From cc0d5edd48e4e56546222de1a40330daece28550 Mon Sep 17 00:00:00 2001 From: Janosch Woschitz Date: Sat, 18 Mar 2017 14:47:15 +0100 Subject: [PATCH] enabled github releases --- build.gradle | 16 +++++++++++++++- gradle.properties | 1 + 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 gradle.properties diff --git a/build.gradle b/build.gradle index ac8e3c0..9bc2a44 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,6 @@ plugins { id 'com.github.johnrengelman.shadow' version '1.2.4' + id 'co.riiid.gradle' version '0.4.2' id 'java' id 'maven' id 'idea' @@ -31,10 +32,23 @@ dependencies { testCompile 'org.apache.avro:avro:1.8.1:tests' } +github { + owner = 'jwoschitz' + repo = 'avrocount' + token = project.hasProperty('githubToken') ? githubToken : '-' + tagName = project.version + targetCommitish = 'master' + name = project.version + body = 'Release v' + project.version + assets = [ + shadowJar.getArchivePath() + ] +} + jar.enabled = false artifacts { shadowJar; } -build.dependsOn(shadowJar); \ No newline at end of file +build.dependsOn(shadowJar); diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..ce0c6a9 --- /dev/null +++ b/gradle.properties @@ -0,0 +1 @@ +version=0.1.0 \ No newline at end of file