Tecnologia do Blogger.
RSS

[androidbrasil-dev] Publicar projeto em Maven Local

Alguém passou a ter problemas com o publicador do Maven nas últimas versões do AS?
Antes funcionava com:

def coreAarFile = file('build/outputs/aar/app-release.aar')

artifacts {
    archives coreAarFile
}

uploadArchives {
    repositories.mavenDeployer {
        repository(url: "file://Users/victor/Java/Android/repositorio")
        pom.groupId = 'groupId'
        pom.artifactId = 'artifactId'
        pom.version = '1.0'
    }
}

Antes funcionava, agora está dando o seguinte erro:

Execution failed for task ':app:uploadArchives'.
> Could not publish configuration 'archives'
   > A POM cannot have multiple artifacts with the same type and classifier. Already have MavenArtifact artifactId:aar:aar:null, trying to add MavenArtifact artifactId:aar:aar:null.

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comentários:

Postar um comentário