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

Error on process project class using gradle #36

Open
eloyleonardo opened this issue Nov 2, 2021 · 1 comment
Open

Error on process project class using gradle #36

eloyleonardo opened this issue Nov 2, 2021 · 1 comment

Comments

@eloyleonardo
Copy link

I'm trying to setup this lib on my project, but when i map a class from my project it gives me class not found exception.

i made this repo with a reproduction of the problem: https://github.com/eloyleonardo/test-d-ts.

If i remove the the line with my custom class all pass.

It looks like the processor doesn't have access to the project classes (classpath), but i can't find any tricks to make this works.

Is this expected ? Or is there any change on gradle to the processor find my class ?

@eloyleonardo eloyleonardo changed the title Error on use a project class on gradle Error on process project class using gradle Nov 2, 2021
@bsorrentino
Copy link
Owner

Hi @eloyleonardo

It is not expected behavior. I use maven rather than gradle and I never had such problem. I haven't a great expertise on gradle so currently I haven't answers to your questions

We need to check the gradle processor features to understand if there are some options that solve this problem

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