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

createDeb stop working with gradle 8.0.2 #425

Open
frankfliu opened this issue Mar 8, 2023 · 1 comment
Open

createDeb stop working with gradle 8.0.2 #425

frankfliu opened this issue Mar 8, 2023 · 1 comment

Comments

@frankfliu
Copy link

I was using 'nebula.ospackage' plugin and everything works fine:

plugins {
    id 'nebula.ospackage' version '9.1.1'
}

However, I need to upgrade 8.0.2 and the plugin doesn't work with gradle 8.0.2. Unfortunately, there is no 11.0.0 version for 'nebula.ospackage', I only found id 'com.netflix.nebula.ospackage' version '11.0.0'.

But with id 'com.netflix.nebula.ospackage' version '11.0.0', it didn't give me any error, but no .deb file is created.

@frankfliu
Copy link
Author

I tried 11.0.0 with gradle 7.6 and it's working, only gradle 8.0.2 with 11.0.0 doesn't work.

Finally, I found the culprit. I have the following cloure in my task:

    doFirst {
        exec {
             // prepare the source folder
        }
    }

For some reason, it didn't get executed in gradle 8.0.2

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