gradle-release icon indicating copy to clipboard operation
gradle-release copied to clipboard

Unable to create release artifact

Open Iqra786 opened this issue 4 years ago • 0 comments

Hi,

I am using following combination in my application level build gradle file for release.

com.android.tools.build:gradle:4.0.0
net.researchgate:gradle-release:2.8.1

I am using running following task to create artefacts during release process.

release {
buildTasks = [ 'assembleProduction']
}

It only creates Debug artefact through Jenkins release plugin. It does not create release artefacts. When I run assembleProduction task on my local machine without release. It works fine.

When I downgraded android tool to 3.4.0 like following. It works fine and get debug and release artefacts.

com.android.tools.build:gradle:3.4.0
net.researchgate:gradle-release:2.8.1

My question, is It an issue?

Regards,

Iqra786 avatar Jul 10 '20 09:07 Iqra786