You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IDE script resolving could fail while cli configuration successful.
How this could happen?
resolving mechanism trigger build configuration to resolve dependencies, and do so in some "sandbox" environment, it could lead to errors during script resolution. For example i had .sh script fail that called something git related, because during IDE resolution .git was not available
To prevent merging such code and as result 'red' scripts on developer machines we want to mimic IDE resolving mechanism and run it during CI checks.
The text was updated successfully, but these errors were encountered:
eskatos
changed the title
Ability to test script resolving
Ability to test IDE editor script dependency resolution
Nov 9, 2018
eskatos
changed the title
Ability to test IDE editor script dependency resolution
Public test fixtures for assertions on IDE editor script dependency resolution
Apr 24, 2019
eskatos
changed the title
Public test fixtures for assertions on IDE editor script dependency resolution
Public test fixtures for assertions on Kotlin DSL IDE editor script dependency resolution
Apr 24, 2019
This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. If you're interested in how we try to keep the backlog in a healthy state, please read our blog post on how we refine our backlog. If you feel this is something you could contribute, please have a look at our Contributor Guide. Thank you for your contribution.
This issue has been automatically closed due to inactivity. If you can reproduce this on a recent version of Gradle or if you have a good use case for this feature, please feel free to reopen the issue with steps to reproduce, a quick explanation of your use case or a high-quality pull request.
We need API to emulate script resolving in tests
Expected Behavior
kotlinBuildScriptModelFor() or something similair is public and a part of some testing library
Current Behavior
I had to copypaste ~200 loc of KotlinBuildScriptModelRequest.kt
to be able to test this behavior
Context
IDE script resolving could fail while cli configuration successful.
How this could happen?
resolving mechanism trigger build configuration to resolve dependencies, and do so in some "sandbox" environment, it could lead to errors during script resolution. For example i had
.sh
script fail that called somethinggit
related, because during IDE resolution.git
was not availableTo prevent merging such code and as result 'red' scripts on developer machines we want to mimic IDE resolving mechanism and run it during CI checks.
The text was updated successfully, but these errors were encountered: