Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@aar is deprecated in gradle and will be removed in 2.0 which is released #12

Open
Shusshu opened this issue Jul 5, 2014 · 8 comments

Comments

@Shusshu
Copy link

Shusshu commented Jul 5, 2014

compile 'xxx:xx:1.0.0@aar' is deprecated in gradle and will be removed in 2.0 which is released

The pom you are generating should have a tag

<package>aar</package> 
@daimajia
Copy link
Owner

daimajia commented Jul 5, 2014

As you konw, I am using gradle-mvn-push made by chrisbanes.
Do you mean that I should add the following code pom.package = aar to here.
To be honest, I am not quiet familiar with gradle and maven.

@Shusshu
Copy link
Author

Shusshu commented Jul 5, 2014

I'm not familiar how that plugin work. but yes an aar package needs to be in the pom.

so if that line works I'd go with that :)

@daimajia
Copy link
Owner

daimajia commented Jul 5, 2014

I'll have a try tomorrow, thanks your advise. :-D

@kashban
Copy link

kashban commented Oct 10, 2014

Is this solved?

@robertoestivill
Copy link
Contributor

I think this can be closed. I'm seeing all the downloadable aar's on maven central.

screen shot 2015-05-04 at 16 51 39

@geminiwen
Copy link
Contributor

We can use bintray instead of maven central

in build.gradle
just use
compile 'com.daimajia.xxx:library:version'
like my http library
org.geminiwen.android.httpengine:library:1.10.0' :-D

bintray plugin example as follow
https://github.com/bintray/bintray-examples

@daimajia
Copy link
Owner

daimajia commented May 5, 2015

@coffeesherk @robertoestivill @Shusshu
This is actually not a very serious problem, remove aar suffix can avoid the annoying warning output. I'll try to fix it when next time I push it to maven center.

@JosephSanjaya
Copy link

@daimajia I get an error:

  • Failed to resolve: com.daimajia.easing:library:2.4@aar
  • Failed to resolve: com.daimajia.androidanimations:library:2.4@aar
    when using this library with new version catalog on gradle 7+

I think it's related to aar being deprecated, if I used it without version catalog it's working fine

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants