Describe the bug
An error occurs when applying the gradle artifactory plugin to a precompiled script plugin:
Cannot cast object 'org.jfrog.gradle.plugin.artifactory.dsl.ArtifactoryPluginConvention@7f065b2c' with class 'org.jfrog.gradle.plugin.artifactory.dsl.ArtifactoryPluginConvention' to class 'org.jfrog.gradle.plugin.artifactory.dsl.ArtifactoryPluginConvention'```
Cause 1: groovy.lang.MissingMethodException: No signature of method: org.jfrog.gradle.plugin.artifactory.extractor.listener.ProjectsEvaluatedBuildListener$_afterEvaluate_closure1.doCall() is applicable for argument types: (org.jfrog.gradle.plugin.artifactory.task.ArtifactoryTask_Decorated) values: [task ':brand-sdk-project:brand-api-internal:artifactoryPublish']
Describe the bug An error occurs when applying the gradle artifactory plugin to a precompiled script plugin:
To Reproduce
org.jfrog.buildinfo:build-info-extractor-gradle:4.31.4
as animplementation dependency
in build A build.gradle.kts.src/main/kotlin/example/example-convention.gradle.kts
Expected behavior There should be no Error.
Screenshots None as it is a build error.
Versions
Enterprise Plus 7.37.16 rev 73716900
Additional context This is working for numerous other plugins, such as detekt, kotest, kotlin plugins, android, and built in gradle plugins.