Skip to content

Commit 321caf6

Browse files
committed
publish to bintray
1 parent 5ae7b08 commit 321caf6

1 file changed

Lines changed: 23 additions & 1 deletion

File tree

build.gradle

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
plugins {
22
id "java"
33
id "jacoco"
4+
id 'maven-publish'
45
id 'com.github.kt3k.coveralls' version '2.6.3'
6+
id "com.jfrog.bintray" version "1.7"
57
}
68

79
repositories {
@@ -11,7 +13,7 @@ repositories {
1113
}
1214

1315
group = 'com.github.markrileybot.heatshrink'
14-
version = '1.0.0-SNAPSHOT'
16+
version = '0.0.1'
1517

1618
dependencies {
1719
compile 'org.slf4j:slf4j-api:1.7.21'
@@ -26,3 +28,23 @@ jacocoTestReport {
2628
html.enabled = true
2729
}
2830
}
31+
32+
publishing {
33+
publications {
34+
MyPublication(MavenPublication) {
35+
from components.java
36+
}
37+
}
38+
}
39+
40+
bintray {
41+
user = 'markrileybot'
42+
key = System.getenv('BINTRAY_KEY')
43+
publications = ['MyPublication']
44+
pkg {
45+
repo = 'markrileybot'
46+
name = project.name
47+
userOrg = 'mrileybot'
48+
}
49+
}
50+

0 commit comments

Comments
 (0)