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

Is the plugin compatible with Gradle 8.4? #7

Open
xiaojiangclassmate opened this issue Mar 5, 2024 · 9 comments
Open

Is the plugin compatible with Gradle 8.4? #7

xiaojiangclassmate opened this issue Mar 5, 2024 · 9 comments
Labels
question Further information is requested solved The issue having tag 'solved' are either resolved by the original poster (OP) or by another party.

Comments

@xiaojiangclassmate
Copy link

The gradle version used in my project is 8.4, but it cannot be used normally. The gradle error prompts that it is not compatible.

Error resolving plugin [id: 'io.github.goldfish07.reschiper', version: '0.1.0-rc4']
> The request for this plugin could not be satisfied because the plugin is already on the classpath with an unknown version, so compatibility cannot be checked.
@goldfish07 goldfish07 added the question Further information is requested label Mar 5, 2024
@goldfish07
Copy link
Owner

are you using 8.4 (alpha) Gradle plugin in your project ?

@xiaojiangclassmate
Copy link
Author

Not have

@goldfish07
Copy link
Owner

no problem, i am personally using it in gradle-8.4 and gradle-8.6 and everything working fine !!!

in project/build.gradle
do you have
buildscript {
dependencies {
}
}
?

@xiaojiangclassmate
Copy link
Author

I added it on project/build.gradle

@goldfish07
Copy link
Owner

goldfish07 commented Mar 6, 2024

are you using groovy or kotlin DLS ?

have you defines plugin in any other sub module ?

@xiaojiangclassmate
Copy link
Author

The project uses kotlin DSL.

This plug-in is added to app/build.gradle. When synchronizing, gradle prompts an error that is incompatible.

@goldfish07
Copy link
Owner

The error is not from the plugin; it's from your project setup. I haven't seen this error before, so I can't say much about it. It seems like you've already added a plugin with a different version.

Check all your build.gradle files to see if "reschiper" is implemented elsewhere or globally. Also, try clearing or invalidating the cache in Android Studio. This might help fix the problem.

@xiaojiangclassmate
Copy link
Author

already solved

@xiaojiangclassmate
Copy link
Author

The new project uses groovy without any problems. After switching to DSL, an error is reported.

@goldfish07 goldfish07 added the solved The issue having tag 'solved' are either resolved by the original poster (OP) or by another party. label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested solved The issue having tag 'solved' are either resolved by the original poster (OP) or by another party.
Projects
None yet
Development

No branches or pull requests

2 participants