From d0bfccbdfacf6c522d5f1163b0f949cd9404c860 Mon Sep 17 00:00:00 2001 From: Hao Wen Date: Fri, 15 Jul 2016 16:59:18 +0800 Subject: [PATCH] [Wen Hao] - add bintray. --- .travis.yml | 4 +--- build.gradle | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a4d21ba..0f0ce43 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,6 @@ language: java jdk: - - oraclejdk7 - - openjdk7 - - openjdk6 + - oraclejdk8 install: - TERM=dumb gradle assemble diff --git a/build.gradle b/build.gradle index 61e84e6..b4ec2b2 100644 --- a/build.gradle +++ b/build.gradle @@ -4,6 +4,7 @@ plugins { apply plugin: 'java' apply plugin: 'idea' +apply plugin: 'maven' apply plugin: 'com.jfrog.bintray' repositories { @@ -60,3 +61,45 @@ bintray { } } } + +install { + repositories.mavenInstaller { + pom.project { + name 'jpa-spec' + description 'A JAP Query By Specification framework.' + url 'https://github.com/wenhao/jpa-spec' + inceptionYear '2016' + + packaging 'jar' + groupId 'com.github.wenhao' + artifactId 'jpa-spec' + version '1.0.0' + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + scm { + url 'https://github.com/wenhao/jpa-spec' + connection 'https://github.com/wenhao/jpa-spec.git' + developerConnection 'git@github.com:wenhao/http.git' + } + + developers { + developer { + id 'wenhao' + name 'Hao Wen' + email 'wenhao@126.com' + organization 'Hao Wen' + roles { + role 'Developer' + } + } + } + } + } +}