From 11c77311b8bdbf2c0c55d6aea044687212acfdf5 Mon Sep 17 00:00:00 2001 From: Mark Hudnall Date: Thu, 17 Nov 2016 13:52:17 -0800 Subject: [PATCH 1/2] chore(release): Bump version number --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 46e66f7..be9dda0 100644 --- a/build.gradle +++ b/build.gradle @@ -16,9 +16,9 @@ publishing { mavenJava(MavenPublication) { groupId 'com.instant2fa' artifactId 'instant2fa' - version '0.0.2' + version '1.0.0' from components.java } } -} \ No newline at end of file +} From dce8c966c8e3c29e42d6f9ed66d53f7ceeb2449a Mon Sep 17 00:00:00 2001 From: Mark Hudnall Date: Fri, 18 Nov 2016 13:13:22 -0800 Subject: [PATCH 2/2] chore(release): Add configuration for uploading to bintray - Also, set the minimum java version to 7 instead of my computer's default of 8 --- build.gradle | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index be9dda0..4ea478f 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,19 @@ +buildscript { + repositories { + jcenter() + } + dependencies { + classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7' + } +} + +apply plugin: 'com.jfrog.bintray' apply plugin: 'java' apply plugin: 'maven-publish' +sourceCompatibility = 1.7 +targetCompatibility = 1.7 + repositories { jcenter() } @@ -16,9 +29,26 @@ publishing { mavenJava(MavenPublication) { groupId 'com.instant2fa' artifactId 'instant2fa' - version '1.0.0' + version '1.0.1' from components.java } } } + +bintray { + user = System.getenv('BINTRAY_USER') + key = System.getenv('BINTRAY_KEY') + publications = ['mavenJava'] + pkg { + repo = 'instant2fa' + name = 'instant2fa' + userOrg = user + licenses = ['MIT'] + vcsUrl = 'https://github.com/clef/instant2fa-java.git' + labels = ['two-factor', 'authentication', '2fa'] + version { + name = '1.0.1' + } + } +}