You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
group = 'ar.com.sebasira'
version = '1.0'
project.archivesBaseName = rootProject.name
android {
compileSdkVersion 29
defaultConfig {
minSdkVersion 19
targetSdkVersion 29
versionName project.version
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
// How to Rename the output AAR file:
// - https://stackoverflow.com/questions/24728591/how-to-set-name-of-aar-output-from-gradle
// Note that 'defaultConfig' references the above closure with that name
// And rootProject.name is defined in settings.gradle
libraryVariants.all { variant ->
variant.outputs.all {
// Do not add Variant (buildType) Name at the end
outputFileName = "${rootProject.name}-${defaultConfig.versionName}-${variant.name}.aar"
}
}
}
Can you explain me how to achieve this? Thank you!
The text was updated successfully, but these errors were encountered:
I have and Android Library that when building with Android Studio I can see two aar files, like:
But when using the gitlab-ci.yml example from this repo, after it concludes it says something lie:
I would like/expect something like:
This is part of my build.gradle:
Can you explain me how to achieve this? Thank you!
The text was updated successfully, but these errors were encountered: