Skip to content

Commit

Permalink
Adds HbaseFilters packaging and publication task
Browse files Browse the repository at this point in the history
  • Loading branch information
lambour committed Apr 29, 2016
1 parent f697b9a commit 62d1473
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 1 deletion.
62 changes: 62 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -773,3 +773,65 @@ project(':token') {
//
compileJava.dependsOn generateThrift;
}

// ------------------------------------------------------------------
// ------------------------- Hbase Filter----------------------------
// ------------------------------------------------------------------
project(':hbaseFilters') {
archivesBaseName = 'hbaseFilters'
group = 'io.warp10'
version = getVersionName(warp10Version[archivesBaseName])

jar {
zip64 = true

manifest {
attributes(
"Implementation-Title": "HBase Filters",
"Implementation-Vendor": "Warp 10",
"Implementation-Version": version)
}

from project(":warp10").sourceSets.main.output
include 'org/apache/hadoop/hbase/filter/**'
}

publishing {
publications {
hbaseFilters(MavenPublication) {
from components.java
groupId 'io.warp10'
artifactId archivesBaseName
version version
}
}
}

bintray {
dryRun = false

user = project.hasProperty('bintrayUser') ? project.property('bintrayUser') : System.getenv('BINTRAY_USER')
key = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') : System.getenv('BINTRAY_API_KEY')

publications = [ 'hbaseFilters' ]

pkg {
repo = 'maven'
name = 'hbaseFilters'
licenses = ['Apache-2.0']
vcsUrl = 'https://github.com/cityzendata/warp10-platform.git'
version {
name = getVersionName(warp10Version['hbaseFilters'])
released = new Date()
vcsTag = getVersionName(warp10Version['hbaseFilters'])
}
}
}

//
// Tasks dependencies
//
bintrayUpload.dependsOn jar
}


2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include 'warp10', 'warpscript', 'crypto', 'token'
include 'warp10', 'warpscript', 'crypto', 'token', 'hbaseFilters'

0 comments on commit 62d1473

Please sign in to comment.