Exception in gradle build with Gradle 7

Gradle build issues after upgrade from gradle 6.9 to gradle 7.

Build file ‘…\build.gradle’ line: 3
Failed to apply plugin ‘net.wasdev.wlp.gradle.plugins.Liberty’.

Could not create task ‘:compileJSP’.
Could not create task of type ‘CompileJSPTask’.
Cannot set readonly property: level for class: org.gradle.internal.logging.services.DefaultLoggingManager

Duplicate thread