This project should help scripting developers develop their Groovy Scripts within their favorite IDE against their target Liferay version as defined by targetVersion
in the build.gradle.
git clone [email protected]:SGM3/LiferayGroovyContextSupport.git
Import the project into you favorite IDE.
Then simply add any new Groovy file (or use GroovtTestIt.groovy
) in src/main/groovy
, add the import for mocked objects import static internal.MockObjects.*
and enjoy the benefits 😁 .
To Allen Ziegenfus for giving me the idea.