Skip to content

Commit

Permalink
https://github.com/subshare/bc-pgp-wot/issues/1
Browse files Browse the repository at this point in the history
  • Loading branch information
nlmarco committed Mar 17, 2017
1 parent 5a23390 commit 40215fb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions org.bouncycastle.openpgp.wot/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@ apply plugin: 'osgi'
apply plugin: 'maven'

project.ext.bouncycastleVersion = '1.52'
project.ext.mavenDeployerRepoUrl = "file:/tmp/maven"

def mavenDeployerRepoUrlSysProp = System.getProperty("mavenDeployerRepoUrl");
if (mavenDeployerRepoUrlSysProp != null && ! mavenDeployerRepoUrlSysProp.isEmpty())
project.ext.mavenDeployerRepoUrl = mavenDeployerRepoUrlSysProp;

group = 'org.bouncycastle'
version = '1.52.2-SNAPSHOT'

sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7

project.ext.mavenDeployerRepoUrl = "file:/tmp/maven"

def mavenDeployerRepoUrlSysProp = System.getProperty("mavenDeployerRepoUrl");
if (mavenDeployerRepoUrlSysProp != null && ! mavenDeployerRepoUrlSysProp.isEmpty())
project.ext.mavenDeployerRepoUrl = mavenDeployerRepoUrlSysProp;

if (version.endsWith("-SNAPSHOT"))
project.ext.mavenDeployerRepoUrl = project.ext.mavenDeployerRepoUrl + "/snapshot";
else
Expand Down

0 comments on commit 40215fb

Please sign in to comment.