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

Rewrite Groovy code to Java code except specs #174

Open
jmatsu opened this issue Mar 17, 2023 · 1 comment
Open

Rewrite Groovy code to Java code except specs #174

jmatsu opened this issue Mar 17, 2023 · 1 comment

Comments

@jmatsu
Copy link
Contributor

jmatsu commented Mar 17, 2023

Groovy is powerful but dynamic compilation sometimes cause complicated issues especially with Kotlin DSL users. We can put CompileStatic annotations to Groovy classes to avoid them though, using Java is more simple if so.

And also, we use old Gradle versions to keep the backward compatibility safely (we know it's not required though) and have to test many Gradle versions with painless as much as possible. As Groovy's version depends on the compile-time Gradle version, Groovy version concerns may not fit our project.

@jmatsu
Copy link
Contributor Author

jmatsu commented Jul 27, 2023

Static compilation option can solve the incompatible issue with Kotlin DSL but Groovy version differences are not avoidable due to matrix testing. Rewriting is the best option for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant