in src/main/groovy/com/epam/atg/gradle/initializers/RootProjectPluginInitializer.groovy [85:96]
private static void initializeAtgRepository(Project project) {
String atgRoot = project.property(ATGPluginConstants.PROJECT_ATG_ROOT_PROPERTY) as String
File atgRootDirectory = new File(atgRoot)
if (!(atgRootDirectory.exists() && atgRootDirectory.isDirectory())) {
throw new IllegalArgumentException("Incorrect ATG Root Directory $atgRootDirectory")
}
ATGRepository atgRepository = ATGRepositoryFactory.createRepository(atgRoot)
project.ext[ATGPluginConstants.PROJECT_ATG_REPOSITORY_PROPERTY] = atgRepository
LOGGER.info('ATG Repository initialized. path: {}', atgRoot)
}