Skip to content

Commit

Permalink
prepare bintray release
Browse files Browse the repository at this point in the history
  • Loading branch information
aesteve committed Dec 21, 2015
1 parent 3eb3c15 commit 3570774
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 3 deletions.
34 changes: 33 additions & 1 deletion build.gradle
Expand Up @@ -4,10 +4,12 @@ plugins {
id 'idea'
id 'maven'
id 'jacoco'
id 'maven-publish'
id 'com.jfrog.bintray' version '1.4'
}

group='com.github.aesteve'
version='0.1-SNAPSHOT'
version='1.0'

repositories {
mavenCentral()
Expand Down Expand Up @@ -79,7 +81,37 @@ clean {
delete += generatedSrcDir
}

bintray {
user = 'aesteve'
key = System.getenv('BINTRAY_KEY')
pkg {
repo = 'maven'
name = project.name
licenses = ['Apache-2.0']
vcsUrl = 'https://github.com/aesteve/nubes'
labels = ['vertx', 'vert.x', 'annotations', 'jax-rs', 'resteasy']
publicDownloadNumbers = true
version {
name = project.version
description = 'Nubes stratus'
}
publications = ['maven']
}
}

publishing {
publications {
maven(MavenPublication) {
from components.java
artifact sourcesJar
}
}
}

task sourcesJar(type: Jar) {
classifier 'sources'
from sourceSets.main.allJava
}


test.outputs.upToDateWhen { false }
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
#Sat Oct 31 09:20:26 CET 2015
#Mon Dec 21 16:13:15 CET 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.9-bin.zip

0 comments on commit 3570774

Please sign in to comment.