-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[BUG]: build.gradle.kts not recognized when enabling code coverage #19937
Comments
Hi @erosb, thanks for reporting! We are working on more prioritized issues at the moment, but will get back to this one soon. |
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days |
Hello, can this be prioritized any time soon? |
This is the same issues as here that was closed... |
It is only the additional of the coverage keys in the tasks inputs that are causing the error, it looks like a really simple fix can we have at least an estimation date for the solution? |
New issue checklist
Task name
Gradle
Task version
3
Issue Description
My gradle build file is a kotlin file,
build.gradle.kts
, and notbuild.gradle
. The.kts
file isn't recognized when the task wants to enable code coverage. See the attached log output: it complains about missingbuild.gradle
file and doesn't try to look forbuild.gradle.kts
. At the first glance, it happens because the filename is hardcoded here: https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/GradleV3/Modules/code-coverage.ts#L19Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
ubuntu-latest
Relevant log output
Full task logs with system.debug enabled
No response
Repro steps
No response
The text was updated successfully, but these errors were encountered: