Skip to content
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

RPM: defining fileType/directive for a copySpec does not work from Kotlin code #410

Open
lkoe opened this issue Mar 31, 2022 · 0 comments
Open

Comments

@lkoe
Copy link

lkoe commented Mar 31, 2022

According to the plugin docs its possible to define the directive for a rpm copyspec by using the fileType property:
https://github.com/nebula-plugins/gradle-ospackage-plugin/wiki/RPM-Plugin#example

However, this seens only to work from a groovy script, as the fileType is beeing set as a dynamic groovy property and then later on evaluated from the groovy metaclass.

Kotlin code however does cannot use this mechanism as it only "sees" the fileType property of the rpm-Task itself (which is not useful) and is therefor unable to set this per copyspec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant