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

fix sync 'could not get unknown property libs' in gradle-plugin #761

Closed
wants to merge 1 commit into from

Conversation

RBusarow
Copy link
Collaborator

fixes #744
fixes #757

We had a symlink for <root>/gradle-plugin/gradle which pointed to <root>/gradle, so that we wouldn't have to maintain two versions of the wrapper files. That symlink apparently doesn't always work for the libs.versions.toml file.

Instead, we can use the normal from(file('../gradle/libs.version.toml')) syntax for the catalog, and just symlink the gradle/wrapper directory instead.

fixes #744
fixes #757

We had a symlink for `<root>/gradle-plugin/gradle` which pointed to `<root>/gradle`, so that we wouldn't have to maintain two versions of the wrapper files.  That symlink apparently doesn't always work for the `libs.versions.toml` file.

Instead, we can use the normal `from(file('../gradle/libs.version.toml'))` syntax for the catalog, and just symlink the `gradle/wrapper` directory instead.
@RBusarow RBusarow closed this Nov 16, 2023
@RBusarow RBusarow deleted the rick/symlink-wrapper branch December 12, 2023 18:58
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

Successfully merging this pull request may close these issues.

IDE not syncing on fresh pull Configuration error in gradle-plugin when building on Windows
3 participants