Skip to content

Commit

Permalink
avoid signing for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
lukin0110 committed Feb 26, 2015
1 parent 0df3011 commit dfc850e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ poeditor-gradle
===============
[![Build Status](https://travis-ci.org/lukin0110/poeditor-gradle.svg)](https://travis-ci.org/lukin0110/poeditor-gradle)

Plugin for Gradle to download translations from [POEditor API](https://poeditor.com/).
Plugin for Gradle to manage translations from [POEditor API](https://poeditor.com/). Download new translations and
upload new terms.

1. Install
----------
Expand All @@ -27,7 +28,7 @@ buildscript {
2. Configure
-------------
Add configuration about your POEditor project to the `gradle.build` file. You need an api key and project id from
POEDitor.
POEditor.

Example configuration:

Expand All @@ -48,8 +49,8 @@ Now you're all set to manage your translations.

3. Usage
--------
Initialize your project. After your have created your translation project on POEditor you can can initialize your
project based on your configuration.
After your have created your translation project on POEditor you can can initialize your project based on your c
onfiguration.

Initialize:
```
Expand Down
8 changes: 5 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ artifacts {
}

signing {
sign configurations.archives
if(this.hasProperty('remote')) {
sign configurations.archives
}
}

publishing {
publications {
maven(MavenPublication) {
Expand All @@ -65,10 +67,10 @@ def _ossrhPassword = this.properties['ossrhPassword']
uploadArchives {
repositories {
mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }

//use: gradle uploadArchives -Premote
if(this.hasProperty('remote')){
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
authentication(userName: _ossrhUsername, password: _ossrhPassword)
}
Expand Down

0 comments on commit dfc850e

Please # to comment.