-
Notifications
You must be signed in to change notification settings - Fork 364
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
StringIndexOutOfBoundsException while using rewrite-gradle-plugin #4974
Comments
Hi @man85 👋 , could you share a little more of your |
The most likely suspect is that one of the subprojects of the Gradle project itself ends with "repository" and then |
If so, that would make it related or similar to #4470. |
There is no definition of |
You are absolutely right ) One of the subprojects is named |
The way that this works for Gradle -- which is not OpenRewrite specific -- is by either changing the dependency version found in buildscript or changing the version via declaring the plugin as a first-order plugin. Gradle additionally supports changing the version by resolution rules within the As far as OpenRewrite goes, the easiest way to alter the version would be with the |
I have a Kotlin project managed by Gradle.
build.gradle.kts
:rewrite.yml
:When I run
gradle rewriteRun --stacktrace
I get an error:I suppose the reason is here
@jkschneider @sambsnyd
The text was updated successfully, but these errors were encountered: