-
Notifications
You must be signed in to change notification settings - Fork 20
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 plugin: Replace findProperty with Isolated Project compatible … #811
base: main
Are you sure you want to change the base?
Conversation
…api gradleProperty Signed-off-by: hfhbd <[email protected]>
I think this is fine, but I'll defer to @vlsi |
I guess we haven't had many forked PR created. Tests are failing on the availability of OIDC... which shouldn't be affected by this. I can override for the merge once we get approval. |
Unfortunately, Do you know if there's an alternative? Could you add a test case so we know "isolated project" is supported or not? |
Yes, this is a change of the behavior but it is the only API compatible with isolated projects. hasProperty is also incompatible. Will add a test. |
The mentioned property is an escape hatch, so it is probably fine to use A test with isolated projects would be very welcome. |
Signed-off-by: hfhbd <[email protected]>
10e0869
to
005fe04
Compare
.../sigstore-gradle-sign-base-plugin/src/main/kotlin/dev/sigstore/sign/SigstoreSignExtension.kt
Outdated
Show resolved
Hide resolved
…in/dev/sigstore/sign/SigstoreSignExtension.kt Co-authored-by: Vladimir Sitnikov <[email protected]> Signed-off-by: Philip Wedemann <[email protected]>
…api gradleProperty
Summary
findProperty
is not compatible with Gradle Isolated Projects, butproviders.gradleProperty
is. To test this change, you need an Isolated Projects compatible build, eg plain java library.Release Note
Add support for Gradle Isolated Projects.
Documentation