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

Update plugin for Java 21+ compatibility #153

Open
xzel23 opened this issue Jul 19, 2024 · 1 comment · May be fixed by #154
Open

Update plugin for Java 21+ compatibility #153

xzel23 opened this issue Jul 19, 2024 · 1 comment · May be fixed by #154

Comments

@xzel23
Copy link

xzel23 commented Jul 19, 2024

The plugin does not work with current stable Java. I have forked the plugin to be able to build my projects again and will provide a PR. Either my PR (updates ASM, other dependencies, and Gradle wrapper) or PR #152 (updates only the ASM version) should be merged and a new version be released.

This was referenced Jul 19, 2024
@xzel23
Copy link
Author

xzel23 commented Jul 20, 2024

Until a version containing a fix is released, you can use this workaround (change to Groovy syntax if you don't use the Kotlin DSL):

  • check out the fork containing this PR

  • build the plugin

    ./gradlew build
    
  • publish to your local repository

    ./gradlew publishToMavenLocal publishPluginMavenPublicationToMavenLocal publishJLinkPluginMarkerMavenPublicationToMavenLocal
    
  • add this to your own project's settings.gradle.kts

    pluginManagement {
        repositories {
            mavenLocal()
            gradlePluginPortal()
        }
    }
    

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 a pull request may close this issue.

1 participant