Output aar file name

Hi,

After I upgraded my machine with Gradle 2.1 the name of aar files don’t contains version.

Before install Gradle 2.1 file name was for example:

Chart-2014.3.1023-devRelease.aar

After install Gradle 2.1 file name for example:

Chart-dev-release.aar

where build.gradle file is the same:

buildscript {

repositories {

mavenCentral()

}

dependencies {

classpath ‘com.android.tools.build:gradle:0.14.0’

} }

apply plugin: ‘com.android.library’

repositories {

mavenCentral() }

android {

publishNonDefault true

compileSdkVersion 19

buildToolsVersion ‘19.1.0’

defaultConfig {

minSdkVersion 9

targetSdkVersion 19

versionCode CustomVersionCode

versionName CustomVersion

}

buildTypes {

release {

runProguard false

proguardFiles getDefaultProguardFile(‘proguard-android.txt’), ‘proguard-rules.txt’

}

}

productFlavors {

dev {

}

trial {

}

}

project.version = CustomVersion }

dependencies {

compile ‘com.android.support:appcompat-v7:19.+’

trialCompile project(path: ‘:Common’, configuration: ‘trialRelease’)

devCompile project(path: ‘:Common’, configuration: ‘devRelease’)

compile project(’:Common’) }

I would like to ask if this will be default behavior or I need to set the version on a new way?

Thank you very much in advance!

Petia Vladova