LPS-45150 fix portal-and-shared refactor. Gradle build files should use the correct task class
LPS-44999 Revert new tests - will be re-added later today
LPS-43298 Fix test