Skip to content

Conversation

@ganadist
Copy link
Contributor

@ganadist ganadist commented Jun 17, 2025

Fix #309

Bytecode of plugin refer groovy.util.XmlSlurper, but this class is not accessible in Groovy 4 runtime.
Added import statement to use groovy.xml.XmlSlurper class which is available on Groovy 3 and 4 runtime.
ref :

  • AS-IS
$ javap -c -cp oss-licenses-plugin-0.10.6.jar com.google.android.gms.oss.licenses.plugin.LicensesTask | grep XmlSlurper
     259: ldc_w         #488                // class groovy/util/XmlSlurper
  • TO-BE
$ javap -c -cp oss-licenses-plugin-0.10.6.jar com.google.android.gms.oss.licenses.plugin.LicensesTask | grep XmlSlurper
     260: ldc_w         #488                // class groovy/xml/XmlSlurper

@VinayGuthal VinayGuthal requested a review from davidmotson July 31, 2025 21:14
@davidmotson davidmotson merged commit c9a5842 into google:main Aug 1, 2025
4 checks passed
@heftisun
Copy link

.

@boyloveman1992-droid
Copy link

paing.oomg@bk.ru

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.

OSS License plugin is not compatible with Gradle 9

4 participants