Package-level declarations

Types

Link copied to clipboard
abstract class AndroidFeaturesHandler @Inject constructor
Link copied to clipboard
abstract class AndroidHandler @Inject constructor(objects: ObjectFactory, foundryProperties: FoundryProperties)
Link copied to clipboard
abstract class CircuitHandler @Inject constructor(objects: ObjectFactory)

DSL for configuring Circuit.

Link copied to clipboard
abstract class ComposeHandler @Inject constructor(objects: ObjectFactory, globalFoundryProperties: FoundryProperties, foundryProperties: FoundryProperties, versionCatalog: VersionCatalog)
Link copied to clipboard
abstract class DaggerHandler @Inject constructor(objects: ObjectFactory)
Link copied to clipboard
annotation class DelicateFoundryGradlePluginApi(val message: String = "See kdoc.")

Marks declarations in the Foundry Gradle Plugin API that are delicate — they have limited use-case and shall be used with care in general code. Any use of a delicate declaration has to be carefully reviewed to make sure it is properly used and does not create problems like lossy Java -> Kotlin type parsing. Carefully read documentation and message of any declaration marked as DelicateFoundryGradlePluginApi.

Link copied to clipboard
abstract class FeaturesHandler @Inject constructor(objects: ObjectFactory, globalFoundryProperties: FoundryProperties, foundryProperties: FoundryProperties, project: Project, versionCatalog: VersionCatalog)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract class FoundryExtension @Inject constructor(objects: ObjectFactory, globalFoundryProperties: FoundryProperties, foundryProperties: FoundryProperties, project: Project, versionCatalog: VersionCatalog)
Link copied to clipboard
Link copied to clipboard

(Mostly Gradle) properties for configuration of Foundry Gradle Plugin.

Link copied to clipboard
abstract class FoundryTools : BuildService<FoundryTools.Parameters> , AutoCloseable

Misc tools for Foundry Gradle projects, usable in tasks as a BuildService too.

Link copied to clipboard
Link copied to clipboard

An extension for SlackTools.

Link copied to clipboard

Registry of global configuration info.

Link copied to clipboard
abstract class MoshiHandler
Link copied to clipboard
object Platforms
Link copied to clipboard

Properties

Link copied to clipboard
val Project.ciBuildNumber: Provider<String>
Link copied to clipboard
val Project.fullGitSha: Provider<String>
Link copied to clipboard
val Project.gitSha: Provider<String>
Link copied to clipboard
val Project.invokedFromIde: Boolean
Link copied to clipboard
val Project.isActionsCi: Boolean

If true, this is currently running on GitHub Actions CI.

Link copied to clipboard
val Project.isBuildkite: Boolean

If true, this is currently running on Buildkite.

Link copied to clipboard
val Project.isCi: Boolean

If true, this is currently running on any CI.

Link copied to clipboard
val Project.isSyncing: Boolean

Returns true if this execution of Gradle is for an Android Studio Gradle Sync. We're considering both the no-task invocation of Gradle that AS uses to build its model, and the invocation of "generateXSources" for each project that follows it. (We may want to track these in the future too, but for now they're pretty noisy.)

Link copied to clipboard
val Project.jenkinsHome: Provider<String>
Link copied to clipboard

Functions

Link copied to clipboard

Capitalizes this string using Locale.US.

Link copied to clipboard
Link copied to clipboard
fun <T : Task> TaskProvider<out T>.dependsOn(vararg tasks: TaskProvider<out Task>): TaskProvider<out T>
Link copied to clipboard
fun Project.foundryTools(): FoundryTools
Link copied to clipboard
fun Project.foundryToolsProvider(): Provider<FoundryTools>
Link copied to clipboard
fun Project.gitBranch(): Provider<String>

Returns the git branch this is running on.

Link copied to clipboard
fun Project.supportedLanguages(supportedLanguages: SupportedLanguagesEnum): List<String>