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

Is the 'new' plugin in Maven repo? #6

Closed
greg-stein opened this issue Jul 18, 2016 · 4 comments
Closed

Is the 'new' plugin in Maven repo? #6

greg-stein opened this issue Jul 18, 2016 · 4 comments

Comments

@greg-stein
Copy link

greg-stein commented Jul 18, 2016

Hi,

When i tried to import the 'deprecated' plugin as stated on this page: http://blog.egorand.me/going-aspect-oriented-with-aspectj-and-google-analytics/ it worked:

buildscript {  
    ...
    dependencies {
        ...
        classpath 'com.uphyca.gradle:gradle-android-aspectj-plugin:0.9.14'
    }
}

However if I try to use the new one like you mention in 'How to use' section:

dependencies {
        classpath 'com.hujiang.aspectjx:gradle-android-plugin-aspectjx:1.0.5'
        }

gradle fails to find it. Looks like it's not there?

@firefly1126
Copy link
Contributor

firefly1126 commented Jul 19, 2016

It's int jcenter

Maybe you are blocked by the wall. Using VPN to access the jcenter.

Also you can using the jar file in this project ../product/..

@greg-stein
Copy link
Author

Ouch, sorry I do use jcenter. I was able to use previous (deprecated) plugin and it worked great. If I try to use this one, gradle will complain that it can't find it.

@firefly1126
Copy link
Contributor

Can this Demo project work?
https://github.com/HujiangTechnology/AspectJX-Demo

@greg-stein
Copy link
Author

Yes, after changing ASDK version here and there I was able to build (incl. unit tests).
So probably something wrong with my configuration. I'll dig. Thanks!

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

2 participants