EasyRelease Library

Gradle plugin for Android projects that helps with signing release APKs

License

License

GroupId

GroupId

eu.inloop
ArtifactId

ArtifactId

easyrelease
Last Version

Last Version

0.2.2
Release Date

Release Date

Type

Type

jar
Description

Description

EasyRelease Library
Gradle plugin for Android projects that helps with signing release APKs
Project URL

Project URL

https://github.com/inloop/easyrelease
Source Code Management

Source Code Management

https://github.com/inloop/easyrelease

Download easyrelease

How to add to project

<!-- https://jarcasting.com/artifacts/eu.inloop/easyrelease/ -->
<dependency>
    <groupId>eu.inloop</groupId>
    <artifactId>easyrelease</artifactId>
    <version>0.2.2</version>
</dependency>
// https://jarcasting.com/artifacts/eu.inloop/easyrelease/
implementation 'eu.inloop:easyrelease:0.2.2'
// https://jarcasting.com/artifacts/eu.inloop/easyrelease/
implementation ("eu.inloop:easyrelease:0.2.2")
'eu.inloop:easyrelease:jar:0.2.2'
<dependency org="eu.inloop" name="easyrelease" rev="0.2.2">
  <artifact name="easyrelease" type="jar" />
</dependency>
@Grapes(
@Grab(group='eu.inloop', module='easyrelease', version='0.2.2')
)
libraryDependencies += "eu.inloop" % "easyrelease" % "0.2.2"
[eu.inloop/easyrelease "0.2.2"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

easyrelease

Gradle plugin for Android projects that helps with signing release APKs.

It does following in Project.afterEvaluate():

  • reads versionName and versionCode from build.gradle and if not defined there, then it's taken from AndroidManifest.xml
  • sets each build variant's output file name to project_name-${variant}-${versionName}-${versionCode}.apk
  • sets following release buildType properties:
    • zipAlignEnabled true
  • updates release signingConfig with proper certificate path, keystore password, key alias and key password defined in property file

Status

See the CHANGELOG. Plugin is in early stages. It is based on what we used in our applications and works well for us, but we are sure there are other use-cases or ways it can be improved. It is already available from Maven Central Repository.

Usage

Add to your_app/build.gradle:

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'eu.inloop:easyrelease:0.2.2'
    }
}
apply plugin: 'easyrelease'

Create your_app/easyrelease.properties:

KEYSTORE_FILE=path/to/your.keystore
KEYSTORE_PASSWORD=your_keystore_password
KEY_ALIAS=your_key_alias
KEY_PASSWORD=your_key_password

It is recommended to add easyrelease.properties to .gitignore (or similar for your VCS).

eu.inloop

INLOOPX

Versions

Version
0.2.2
0.2.1
0.2.0
0.1.4