All Downloads are FREE. Search and download functionalities are using the official Maven repository.

flair.gradle.plugins.IdeaPlugin.groovy Maven / Gradle / Ivy

package flair.gradle.plugins

import flair.gradle.structures.*

/**
 * @author SamYStudiO ( [email protected] )
 */
class IdeaPlugin extends AbstractPlugin implements IdePlugin
{
	@Override
	public List getStructures()
	{
		List list = new ArrayList( )

		if( project.rootProject.file( ".idea" ).exists( ) )
		{
			list.add( new IdeaImlStructure( ) )
			list.add( new IdeaLibrariesStructure( ) )
			list.add( new IdeaModulesStructure( ) )
			list.add( new IdeaRunDebugConfigurationsStructure( ) )
		}

		return list
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy