Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/dodocat/AndroidSigning

Config keyStore and key in a xml and sign your apk easily.
https://github.com/dodocat/AndroidSigning

android-build gradle

Last synced: 3 months ago
JSON representation

Config keyStore and key in a xml and sign your apk easily.

Lists

README

        

# Android Signing Automatic Config

Config keyStore and key in a xml and sign your apk easily.

## Usage

Default config file is `~/.android_key_store.xml`, sample config as:

``` xml


keystore1
~/keys/keystore1.key
password


alias1
password



keystore2
~/keys/keystore2.key
password


alias1
password


alias2
password


```

The default key files folder is `~/.android_keys` if key files in there.
Only file name is needed in the config xml.

In top level `build.gradle` add this to classpath
``` groovy
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
classpath 'org.quanqi:android-signing:0.1.1'

}
}
```

apply plugin in application module

```
apply plugin: 'org.quanqi.android-signing'
```

Now in your signingConfigs these signingConfig were available:
* keystore1_alias1
* keystore2_alias1
* keystore2_alias2

Enjoy.

## Change log

## v0.1.0
* First version published basic feature.

## v0.1.1
* minor fix.

## v0.1.2
* add default key file location.
* change java sourceCompatibility to 1.6

## v0.1.3
* fix default path error.

## LICENSE

APACHE-2