Skip to content

Conversation

@Pankraz76
Copy link
Owner


I hereby agree to the terms of the JUnit Contributor License Agreement.


Definition of Done

@Pankraz76 Pankraz76 mentioned this pull request Nov 10, 2025
6 tasks
implementation(libs.plugins.nullaway.markerCoordinates)
implementation(libs.plugins.shadow.markerCoordinates)
implementation(libs.plugins.spotless.markerCoordinates)
implementation(libs.plugins.rewrite.markerCoordinates)
Copy link
Owner Author

@Pankraz76 Pankraz76 Nov 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Owner Author

@Pankraz76 Pankraz76 Nov 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

plugins {
id("org.openrewrite.rewrite")
}
rewrite {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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]

@Pankraz76 Pankraz76 requested a review from vlsi November 20, 2025 12:45
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.

3 participants