-
Notifications
You must be signed in to change notification settings - Fork 55
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
Gradle#projectsEvaluated(Closure) on build 'MyProj' cannot be executed in the current context. #169
Comments
Same error message here as well when running Plugin verison Using Kotlin DSL for gradle. No other plugin configuration in
|
Updated README doc to temporarily exclude 2.3.0 until we have a fix in 2.3.1 |
Can confirm this is happening to us also after upgrade from 2.2.4 -> 2.3.0 |
My workaround without using this plugin, for Spring Boot:
|
Ugh, sh*t. I'll take a look at it and fix it. I already could build a test to reproduce this error behavior. |
I gave it a try in #170. If possible, more eyes on the changes would be welcome. I don't want to break it again. 😉 |
This reverts commit cf1e3c3. B/c of n0mer/gradle-git-properties#169
I've published version 2.3.1-rc1 |
I've just updated a large multi-module project with Gradle 6.8.3 and it worked (in contrast to gradle-git-properties 2.3.0). |
I tried 2.3.1-rc1 on Gradle 7.0/JDK 16:
|
@lazystone I think this is a different issue. Try without OpenJDK 16 (see #171) or try the workaround described in that issue. |
@lazystone I have to apologize. This is indeed an issue with the latest change and a fix is following. Thanks for reporting! ❤️ |
The "classes" task is provided by the Java and not by the Java Base plugin. Refs n0mer#169
@holgerstolzenberg @lazystone @cdalexndr Can you confirm that the latest version of this plugin is working in your projects? https://plugins.gradle.org/plugin/com.gorylenko.gradle-git-properties/2.3.1-rc3 |
Works for me 👍🏽 Gradle 7.0, Java 16.0.1 |
Hi there, |
Plugin verison 2.3.0.
Gradle version 6.5.1
The text was updated successfully, but these errors were encountered: