[rewrite] Add junitbuild.rewrite-conventions.gradle.kts#14
[rewrite] Add junitbuild.rewrite-conventions.gradle.kts#14
junitbuild.rewrite-conventions.gradle.kts#14Conversation
| implementation(libs.plugins.nullaway.markerCoordinates) | ||
| implementation(libs.plugins.shadow.markerCoordinates) | ||
| implementation(libs.plugins.spotless.markerCoordinates) | ||
| implementation(libs.plugins.rewrite.markerCoordinates) |
There was a problem hiding this comment.
it seems to compile but it not applied i can not execute the plugin:
- What went wrong:
Task 'rewriteRun' not found in root project 'junit-framework' and its subprojects.
please how to fix this? @vlsi
There was a problem hiding this comment.
You need to apply id("junitbuild.rewrite-conventions") plugin like in
junitbuild.rewrite-conventions.gradle.kts adds Gradle plugin, and you need to use it to activate.
There was a problem hiding this comment.
could you please help me fixing this step?
Extension with name 'rewrite' does not exist. Currently registered extension names: [ext, develocity, libs, versionCatalogs, projects, grolifant, asciidoctorj, pdfThemes, gitPublish, buildParameters, base, sourceSets, reporting, javaToolchains, java, testing, eclipse, spotless]
its able apply only the plugin id("org.openrewrite.rewrite"), but when trying to configure it its not findig it.
51756a1 to
372075a
Compare
| plugins { | ||
| id("org.openrewrite.rewrite") | ||
| } | ||
| rewrite { |
There was a problem hiding this comment.
Thanks.
Now i can execute but not configure it. When applying it fails:
An exception occurred applying plugin request [id: 'junitbuild.kotlin-library-conventions']
> Failed to apply plugin 'junitbuild.rewrite-conventions'.
> Extension with name 'rewrite' does not exist. Currently registered extension names: [ext, develocity, libs, versionCatalogs, projects, grolifant, asciidoctorj, pdfThemes, gitPublish, buildParameters, base, sourceSets, reporting, javaToolchains, java, testing, eclipse, spotless]
Signed-off-by: Vincent Potucek <vpotucek@me.com>
372075a to
7e0af0e
Compare
|
thanks for the help. you have guided me through it all extracting the first composite and ideation how to integrate. Thank you so much. |
I hereby agree to the terms of the JUnit Contributor License Agreement.
Definition of Done
@APIannotations