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

Migrating gradle plugin from v2.0.1 to v2.2.2 requires additional configuration #6106

Open
Thevakumar-Luheerathan opened this issue Feb 26, 2024 · 4 comments

Comments

@Thevakumar-Luheerathan
Copy link
Member

Description:
Currently, we are using v2.0.1 gradle plugin in some repositories(Eg : io). When migrating from v2.0.1 to v2.2.2, we need to add following configuration/similar configuration to the root project build.gradle file.

subprojects {

    configurations {
        jbalTools
    }
    dependencies {
        jbalTools ("org.ballerinalang:jballerina-tools:${ballerinaLangVersion}") {
            transitive = false
        }
    }
}

Steps to reproduce:

Affected Versions:

OS, DB, other environment details and versions:

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

@Thevakumar-Luheerathan
Copy link
Member Author

This is need to check the performance gain, test failures with the test parallelisation feature on standard libraries. We are planning to release this feature for update 9.

@Thevakumar-Luheerathan Thevakumar-Luheerathan changed the title Migrating gradle plugin from v2.0.1 to v2.2.2 gives error Migrating gradle plugin from v2.0.1 to v2.2.2 requires additional configuration Feb 26, 2024
@TharmiganK
Copy link
Contributor

Isn't it better to release a gradle plugin with the following change and then update the plugin version in standard libraries: ballerina-platform/plugin-gradle#134
Otherwise we need to do another iteration to update the plugin version to support parallel test execution
@ThisaruGuruge @Thevakumar-Luheerathan WDYT?

@Thevakumar-Luheerathan
Copy link
Member Author

Isn't it better to release a gradle plugin with the following change and then update the plugin version in standard libraries: ballerina-platform/plugin-gradle#134 Otherwise we need to do another iteration to update the plugin version to support parallel test execution @ThisaruGuruge @Thevakumar-Luheerathan WDYT?

That's better, I think. I'll release a gradle plugin with parallel test support before EOD.

@Thevakumar-Luheerathan
Copy link
Member Author

A plugin version of v2.2.3 is released now. @TharmiganK @DimuthuMadushan please use that.

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

No branches or pull requests

2 participants