Skip to content
This repository was archived by the owner on Jul 9, 2022. It is now read-only.

Gradle support #40

Open
cromefire opened this issue Oct 31, 2020 · 3 comments
Open

Gradle support #40

cromefire opened this issue Oct 31, 2020 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@cromefire
Copy link

cromefire commented Oct 31, 2020

I'd like to try out this project, but it seems it's only available in maven. Looking at the amount of code in the maven plugin it looks quite reasonable to port it to a gradle plugin.
If it gets ported over to gradle, a thing to keep in mind would be that it should be strongly typed (so use Actions for example if needed), so it works with the Gradle Kotlin DSL (should be working out of the box if the plugin is written in java or kotlin).
https://docs.gradle.org/current/userguide/custom_plugins.html
You're using maven, so this might help: https://stackoverflow.com/a/27556212/8220327

@dsyer
Copy link
Contributor

dsyer commented Nov 2, 2020

If anyone wants to send pull requests we can consider it. But I have a feeling the implementation might change a lot before we get to a stable release.

@dsyer dsyer added the help wanted Extra attention is needed label Nov 2, 2020
@cromefire
Copy link
Author

I'd like to do that but the earliest time I can do something like that is somewhere in like month, so if someone wants to do something like that in the mean time that's completely reasonable.
The big problem I see here is that there's no compatibility layer whatsoever between Gradle and maven (and it seems like there's also no way to use it without having maven set up (like running it manually or via a CLI or annotation processor or something)), so you can't test/use it at all if you are using Gradle (which seems to be quite popular with for example kotlin users), so eventhough the thing might change it's probably worth the effort, as the maven plugin seems very small (it looks like 80% is configuration and only like 200 lines or so is actually code that does logic).

@cromefire
Copy link
Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Development

No branches or pull requests

2 participants