Skip to content

Commit

Permalink
enabled github releases
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoschitz committed Mar 18, 2017
1 parent 287f035 commit cc0d5ed
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
16 changes: 15 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -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'
Expand Down Expand Up @@ -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);
build.dependsOn(shadowJar);
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
version=0.1.0

0 comments on commit cc0d5ed

Please sign in to comment.