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

Hugo + Retrolambda - is it possible to use both? #78

Closed
radzio opened this issue Feb 15, 2015 · 9 comments
Closed

Hugo + Retrolambda - is it possible to use both? #78

radzio opened this issue Feb 15, 2015 · 9 comments

Comments

@radzio
Copy link

radzio commented Feb 15, 2015

Hi,

Thanks for great library. Is it possible to use Hugo with retrolambda? I was trying to use them both in one project without any success. Everything is compiling but I don't see any hugo's logs when I start app.

I've changed hugo-example app where you can reproduce it ( https://github.com/radzio/hugo/blob/master/hugo-example/build.gradle )

Any ideas / suggestions?

Cheers,
Radek

@JakeWharton
Copy link
Owner

As I said on #77, I have no interest in figuring out how to support retrolambda. Someone else is welcome to try, however, and I'll merge.

@radzio
Copy link
Author

radzio commented Feb 16, 2015

Thanks for response. Probably it is retrolambda fault because it's breaking other similar libraries (for example: https://github.com/stephanenicolas/loglifecycle )

Another example: evant/gradle-retrolambda#78

@promeG
Copy link
Contributor

promeG commented Mar 4, 2015

@radzio

I just start a pull request to solve this problem.

Also I have updated the example to show how hugo working with retrolambda in my own repo, but I don't think it's appropriate to inlucde this commit to pull request.

promeG@80fbb18

@3mph4515
Copy link

3mph4515 commented Mar 8, 2015

Bump issue. Does anyone have a workaround?

@promeG
Copy link
Contributor

promeG commented Mar 20, 2015

@radzio @3mph4515

I just created an alternative library XLog which can work with Retrolambda.

@evant
Copy link

evant commented May 2, 2015

I've tested hugo support with the latest version of gradle-retrolambda (3.1.0) and it seems to be working fine. I changed it to do way less bad things to the javaCompile task which should increase compatibility with other plugins like this one.

@3mph4515
Copy link

3mph4515 commented May 2, 2015

@evant Awesome. Thanks!

@JakeWharton
Copy link
Owner

Well shit I just merged a thing to change when our AspectJ is run (it's now immediately before dex). I can't imagine it'll hurt, at the very least!

@mwatel
Copy link

mwatel commented Dec 27, 2015

I confirm Hugo 1.2.1 does not log a thing when using retrolambda. https://github.com/promeG/XLog works like a charm if you are using retrolambda. Thanks a lot @promeG!

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