Package modulecheck.project.test
Types
Link copied to clipboard
data class AndroidApplicationPluginBuilder( var viewBindingEnabled: Boolean = true, var nonTransientRClass: Boolean = false, var kotlinAndroidExtensionEnabled: Boolean = true, val manifests: MutableMap<SourceSetName, File> = mutableMapOf(), val sourceSets: MutableMap<SourceSetName, SourceSetBuilder> = mutableMapOf(), val configurations: MutableMap<ConfigurationName, ConfigBuilder> = mutableMapOf(), val resValues: MutableMap<SourceSetName, Set<UnqualifiedAndroidResourceDeclaredName>> = mutableMapOf()) : AndroidPlatformPluginBuilder<AndroidPlatformPlugin.AndroidApplicationPlugin>
Content copied to clipboard
Link copied to clipboard
data class AndroidDynamicFeaturePluginBuilder( var viewBindingEnabled: Boolean = true, var nonTransientRClass: Boolean = false, var kotlinAndroidExtensionEnabled: Boolean = true, var buildConfigEnabled: Boolean = true, val manifests: MutableMap<SourceSetName, File> = mutableMapOf(), val sourceSets: MutableMap<SourceSetName, SourceSetBuilder> = mutableMapOf(), val configurations: MutableMap<ConfigurationName, ConfigBuilder> = mutableMapOf(), val resValues: MutableMap<SourceSetName, Set<UnqualifiedAndroidResourceDeclaredName>> = mutableMapOf()) : AndroidPlatformPluginBuilder<AndroidPlatformPlugin.AndroidDynamicFeaturePlugin>
Content copied to clipboard
Link copied to clipboard
data class AndroidLibraryPluginBuilder( var viewBindingEnabled: Boolean = true, var nonTransientRClass: Boolean = false, var kotlinAndroidExtensionEnabled: Boolean = true, var buildConfigEnabled: Boolean = true, var androidResourcesEnabled: Boolean = true, val manifests: MutableMap<SourceSetName, File> = mutableMapOf(), val sourceSets: MutableMap<SourceSetName, SourceSetBuilder> = mutableMapOf(), val configurations: MutableMap<ConfigurationName, ConfigBuilder> = mutableMapOf(), val resValues: MutableMap<SourceSetName, Set<UnqualifiedAndroidResourceDeclaredName>> = mutableMapOf()) : AndroidPlatformPluginBuilder<AndroidPlatformPlugin.AndroidLibraryPlugin>
Content copied to clipboard
Link copied to clipboard
interface AndroidPlatformPluginBuilder<T : AndroidPlatformPlugin> : PlatformPluginBuilder<T>
Content copied to clipboard
Link copied to clipboard
data class AndroidTestPluginBuilder( var viewBindingEnabled: Boolean = true, var nonTransientRClass: Boolean = false, var kotlinAndroidExtensionEnabled: Boolean = true, var buildConfigEnabled: Boolean = true, val manifests: MutableMap<SourceSetName, File> = mutableMapOf(), val sourceSets: MutableMap<SourceSetName, SourceSetBuilder> = mutableMapOf(), val configurations: MutableMap<ConfigurationName, ConfigBuilder> = mutableMapOf(), val resValues: MutableMap<SourceSetName, Set<UnqualifiedAndroidResourceDeclaredName>> = mutableMapOf()) : AndroidPlatformPluginBuilder<AndroidPlatformPlugin.AndroidTestPlugin>
Content copied to clipboard
Link copied to clipboard
data class ConfigBuilder( val name: ConfigurationName, val upstream: MutableList<ConfigurationName>, val downstream: MutableList<ConfigurationName>)
Content copied to clipboard
Link copied to clipboard
data class JavaLibraryPluginBuilder(val sourceSets: MutableMap<SourceSetName, SourceSetBuilder> = mutableMapOf(), val configurations: MutableMap<ConfigurationName, ConfigBuilder> = mutableMapOf()) : PlatformPluginBuilder<JvmPlatformPlugin.JavaLibraryPlugin>
Content copied to clipboard
Link copied to clipboard
data class KotlinJvmPluginBuilder(val sourceSets: MutableMap<SourceSetName, SourceSetBuilder> = mutableMapOf(), val configurations: MutableMap<ConfigurationName, ConfigBuilder> = mutableMapOf()) : PlatformPluginBuilder<JvmPlatformPlugin.KotlinJvmPlugin>
Content copied to clipboard
Link copied to clipboard
class McProjectBuilder<P : PlatformPluginBuilder<*>>( var path: ProjectPath.StringProjectPath, var projectDir: File, var buildFile: File, val platformPlugin: P, val codeGeneratorBindings: List<CodeGeneratorBinding>, val projectProvider: ProjectProvider, val projectCache: ProjectCache, val projectDependencies: ProjectDependencies = ProjectDependencies(mutableMapOf()), val externalDependencies: ExternalDependencies = ExternalDependencies(mutableMapOf()), var hasKapt: Boolean = false, var hasTestFixturesPlugin: Boolean = false, var anvilGradlePlugin: AnvilGradlePlugin? = null, var javaSourceVersion: JavaVersion = VERSION_14)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class SourceSetBuilder( var name: SourceSetName, var compileOnlyConfiguration: Config, var apiConfiguration: Config?, var implementationConfiguration: Config, var runtimeOnlyConfiguration: Config, var annotationProcessorConfiguration: Config?, var jvmFiles: Set<File>, var resourceFiles: Set<File>, var layoutFiles: Set<File>, val upstream: MutableList<SourceSetName>, val downstream: MutableList<SourceSetName>)
Content copied to clipboard
Functions
Link copied to clipboard
fun buildFileParserFactory(projectDependency: ProjectDependency.Factory, logger: McLogger = PrintLogger()): BuildFileParser.Factory
Content copied to clipboard
Link copied to clipboard
internal inline fun <T : McProjectBuilder<P>, P : PlatformPluginBuilder<G>, G : PlatformPlugin> T.buildProject(projectFactory: T.(JvmFileProvider.Factory) -> McProject): McProject
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
internal inline fun <T : PlatformPluginBuilder<R>, R : PlatformPlugin> createProject( projectCache: ProjectCache, projectDir: File, path: String, pluginBuilder: T, androidPackageOrNull: String?, codeGeneratorBindings: List<CodeGeneratorBinding>, projectProvider: ProjectProvider, config: McProjectBuilder<T>.() -> Unit): McProject
Content copied to clipboard
Link copied to clipboard
fun McProjectBuilder<*>.maybeAddSourceSet( name: SourceSetName, jvmFiles: Set<File> = emptySet(), resourceFiles: Set<File> = emptySet(), layoutFiles: Set<File> = emptySet(), upstreamNames: List<SourceSetName> = emptyList(), downstreamNames: List<SourceSetName> = emptyList()): SourceSetBuilder
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
internal fun MutableMap<SourceSetName, SourceSetBuilder>.populateDownstreams()
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
internal fun MutableMap<SourceSetName, SourceSetBuilder>.requireSourceSetExists(name: SourceSetName)
Content copied to clipboard
internal fun PlatformPluginBuilder<*>.requireSourceSetExists(name: SourceSetName)
Content copied to clipboard
Link copied to clipboard
internal fun Configurations.toBuilderMap(): MutableMap<ConfigurationName, ConfigBuilder>
Content copied to clipboard
internal fun SourceSets.toBuilderMap(): MutableMap<SourceSetName, SourceSetBuilder>
Content copied to clipboard
Link copied to clipboard
inline fun <T : McProjectBuilder<P>, P : PlatformPluginBuilder<G>, G : PlatformPlugin> T.toRealMcProject(): McProject
Content copied to clipboard
Link copied to clipboard
internal fun MutableMap<SourceSetName, SourceSetBuilder>.validateHierarchy()
Content copied to clipboard
Properties
Link copied to clipboard
internal val PlatformPluginBuilder<*>.configFactory: ConfigFactory<String>
Content copied to clipboard