@Override
	public boolean prepareScriptEnv(User user, String path, String fileName, String name, // LF
									String url, boolean createLib, String scriptContent) {
		path = PathUtils.join(path, fileName);
		// Create Dir entry
		createBaseDirectory(user, path);

		// Create each template entries
		try {
			createFileEntries(user, path, name, url, scriptContent);
			if (createLib) {
				createLibraryDirectory(user, path);
			}
		} catch (NGrinderRuntimeException e) {
			getFileEntryRepository().delete(user, new ArrayList<>(singletonList(path)));
			throw e;
		}
		return false;
	}
Groovy gradle project {@link ScriptHandler}.

@since 3.5.3
ngrinder-controller/src/main/java/org/ngrinder/script/handler/GroovyGradleProjectScriptHandler.java