Skip to content

Commit

Permalink
publish to bintray
Browse files Browse the repository at this point in the history
  • Loading branch information
markrileybot committed Dec 5, 2016
1 parent 5ae7b08 commit 321caf6
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
plugins {
id "java"
id "jacoco"
id 'maven-publish'
id 'com.github.kt3k.coveralls' version '2.6.3'
id "com.jfrog.bintray" version "1.7"
}

repositories {
Expand All @@ -11,7 +13,7 @@ repositories {
}

group = 'com.github.markrileybot.heatshrink'
version = '1.0.0-SNAPSHOT'
version = '0.0.1'

dependencies {
compile 'org.slf4j:slf4j-api:1.7.21'
Expand All @@ -26,3 +28,23 @@ jacocoTestReport {
html.enabled = true
}
}

publishing {
publications {
MyPublication(MavenPublication) {
from components.java
}
}
}

bintray {
user = 'markrileybot'
key = System.getenv('BINTRAY_KEY')
publications = ['MyPublication']
pkg {
repo = 'markrileybot'
name = project.name
userOrg = 'mrileybot'
}
}

0 comments on commit 321caf6

Please sign in to comment.