@Override
	public boolean canHandle(FileEntry fileEntry) {
		String path = fileEntry.getPath();
		if (!FilenameUtils.isExtension(path, "groovy")) {
			return false;
		}

		//noinspection SimplifiableIfStatement
		if (!isGroovyProjectScriptPath(path)) {
			return false;
		}

		if (isGitHubFileEntry(fileEntry)) {
			return StringUtils.equals(fileEntry.getProperties().get("type"), getKey());
		} else {
			if (fileEntry.getCreatedBy() == null) {
				return false;
			}
			return getFileEntryRepository().hasOne(fileEntry.getCreatedBy(), getBasePath(path) + buildScriptName);
		}
	}
Check if copy dependencies is successful.

@param results Result of executing command created by {@link #getCopyDependenciesCommand} with OSHI.
ngrinder-controller/src/main/java/org/ngrinder/script/handler/GroovyProjectScriptHandler.java