I am able to test dcl plugins using Gradle test ki...
# declarative-gradle
j
I am able to test dcl plugins using Gradle test kit without any issue. But I need to configure a project with additional data not supported by dcl, so I need to use
org.gradle.kotlin.dsl.dcl=true
but then tests are failing with:
Copy code
ScriptCompilationException(scriptCompilationErrors=[...])
Is there any workaround?
j
could you please provide a bit more information on the errors?
j
I moved my code to the settings script with
gradle.lifecycle.beforeProject
as a workaround. But I think it is the same error you get when you were not adding
org.gradle.kotlin.dsl.dcl=true
outside of Gradle test kit