Groovy Documentation

com.jcandksolutions.gradle.androidunittest
[Groovy] Class ConfigurationManager

java.lang.Object
  com.jcandksolutions.gradle.androidunittest.ConfigurationManager

class ConfigurationManager

Class that manages the creation of the Configurations for the different source sets.


Field Summary
static java.lang.String COMPILE

static java.lang.String SOURCES_JAVADOC

static java.lang.String TEST_COMPILE

 
Constructor Summary
ConfigurationManager(BaseExtension androidExtension, ConfigurationContainer configurations, Project project, AndroidUnitTestPluginExtension pluginExtension, ModelManager modelManager, Logger logger)

Instantiates a ConfigurationManager.

 
Method Summary
void createNewConfigurations()

Creates new test configurations for each flavor so the user can set dependencies for the different source sets.

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

COMPILE

public static final java.lang.String COMPILE


SOURCES_JAVADOC

public static final java.lang.String SOURCES_JAVADOC


TEST_COMPILE

public static final java.lang.String TEST_COMPILE


 
Constructor Detail

ConfigurationManager

ConfigurationManager(BaseExtension androidExtension, ConfigurationContainer configurations, Project project, AndroidUnitTestPluginExtension pluginExtension, ModelManager modelManager, Logger logger)
Instantiates a ConfigurationManager.
Parameters:
androidExtension - The AndroidExtension.
configurations - The Configurations of the project.
project - The Project.
pluginExtension - The Plugin extension.
modelManager - The Model Manager.
logger - The Logger.


 
Method Detail

createNewConfigurations

void createNewConfigurations()
Creates new test configurations for each flavor so the user can set dependencies for the different source sets.


 

Groovy Documentation