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
When fetching appComponents from a Maven repository that uses HTTP header authentication (such as Gitlab) the header and header value specified in the CUBA project's build.gradle are ignored.
Environment
Description of the bug or enhancement
When fetching appComponents from a Maven repository that uses HTTP header authentication (such as Gitlab) the header and header value specified in the CUBA project's build.gradle are ignored.
Minimal reproducible example
Take the following cuba project:
minimalexample.zip
Open a request bin on localhost port 1234 or change the secondary repository to a remote requestbin. Then sync the gradle project / run gradle build.
Expected behavior
A header is included with the name
authorization-header
and valuevery-secret-authorization-token
Actual behavior
No such header is included
Fix
In
CubaPlugin.groovy
replace the following code:by this code:
The text was updated successfully, but these errors were encountered: