-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
No way to specify additional PROVIDERS in ImportsResolver.groovy #40
Comments
Hi @antonydenyer ! Ok which provider would you want? We can add it for the next release. For now the only extension mechanism is specifying your own Or, would you have another suggestion on how to add providers dynamically? Thanks |
👋 It's basically to get around having to do the following in my build gradle
Ideally, I'd like to be able to just add
perhaps? |
The issue with that is Maybe if we add a property named What do you think @antonydenyer ? |
In any case, we can already add this package to the defaults. |
Ahh yes:
is what we want. I think it's probably worth explaining what we are trying to achieve. We want the following import to work as it does with truffle.
In an ideal world having the defaults would be enough. |
We could just add it to the The only objection I have is that the Consensys permissioning contracts do not implement any standard, so that would mean adding to the default packages a non-EIP library, opening the door to many other user packages. I think we should stick to a clear demarcation criteria on what should be added as a plugin default provider, and for now EIP implementations are the only reason I think a package should be added. |
Workaround to use the @uniswap/v3-core package instead of the out of date @uniswap/lib :
build.gradle :
You can then import Uniswap contracts, libraries and interfaces :
|
I want to be able to specify different providers so I don't have to provide pathRemappings.
The text was updated successfully, but these errors were encountered: