-
Notifications
You must be signed in to change notification settings - Fork 21
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 executor is not detected if only build.gradle.kts file is present #846
Comments
Thank you for noting this. Would you be interested in contributing a PR? Perhaps something as easy as adding |
I have run into this problem in a few projects now, and in most cases adding an empty |
Facing the same problem within a monorepo, where all the Gradle stuff is under /root and the infrastructure is in /infra An empty settings.gradle.kts did not help and produces
Btw, around November 2022 this must have worked. Maybe not with Kotlin DSL but with Groovy, as I was using it from subdirectories @t0yv0 as you asked for a contribution, I'm wondering if something is missing with this contributed PR that would fix the problem or if it just wasn't noticed? #1231 |
indeed, an empty without it the error is as follows:
|
pulumi-java/pkg/internal/executors/executor_gradle.go
Lines 88 to 92 in af0e439
The code above is used to detect an executor, and if I have only
build.gradle.kts
file in my project, then it falls through tosbt
executorAlso, this function might be worth looking at as well:
pulumi-java/pkg/internal/executors/executor_gradle.go
Lines 58 to 62 in af0e439
The text was updated successfully, but these errors were encountered: