From 39db2912ad920ae7f8de78161c9a90a953e15320 Mon Sep 17 00:00:00 2001 From: "R. Tyler Croy" Date: Sat, 4 Jul 2015 14:27:46 -0700 Subject: [PATCH] Update the build script to be more explicity about cleaning and running default tasks Giving this another try with an auto-deploy --- .travis.yml | 5 +++++ build.gradle | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8ae8fd9..80b5403 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,11 @@ language: java jdk: - oraclejdk7 - oraclejdk8 + +script: + - ./gradlew clean + - ./gradlew + env: global: secure: MzcJafov6+fztyym0hZFTxjirTAgVFqFRO4pSSoDUZV71jHBYRKLmQxiaYpqdl9d7Q7Jz7UfNZRSisNwZQdeZjs0B9yJwy9m1mDlJaUXIWN/xzW04qPnZ5zxh1yJHK+UHIw5G2qRZSE42m9G3TSRBlUz6OMk+tr2UYErfnKzcsc= diff --git a/build.gradle b/build.gradle index 84506a4..52eb886 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ apply plugin: 'application' group = "com.github.lookout" description = "A utility for monitoring the delay of Kafka consumers" -version = '0.2.1' +version = '0.2.2' mainClassName = 'com.github.lookout.verspaetung.Main' defaultTasks 'clean', 'check', 'assemble' @@ -87,6 +87,11 @@ artifacts { archives shadowJar } +/* Remove the "library" jar from the archives configuration so it's not + * published + */ +configurations.archives.artifacts.removeAll { it.archiveTask.is jar } + bintray { user = project.bintrayUser