rustic / com.osm.gradle.plugins / Rustic

Rustic

open class Rustic : GroovyObjectSupport

Constructors

<init>

Rustic(name: String, project: Project)

Properties

buildTypes

val buildTypes: NamedDomainObjectContainer<BuildTypeConfig>

defaultConfig

val defaultConfig: DefaultConfig

flavors

val flavors: NamedDomainObjectContainer<ProductFlavorConfig>

name

val name: String

project

val project: Project

projectSettings

val projectSettings: ProjectSettings

variants

val variants: DomainObjectSet<BuildVariant>

Functions

buildTypes

Make settings that affect the build artifacts. In addition, you can set targetSelection, buildOptions, checkOptions, testOptions, and benchOptions. (takes precedence over defaultConfig, but productFlavors takes precedence over buildTypes)

fun buildTypes(closure: Closure<*>): Unit

defaultConfig

Make settings that affect the build artifacts. In addition, you can set targetSelection, buildOptions, checkOptions, testOptions, and benchOptions. (The settings of buildTypes and productFlavors take precedence)

fun defaultConfig(closure: Closure<*>): Unit

flavors

You can configure the toolchain (x86_64-linux-gnu-gcc and related tools) to be used in triple and build. In addition, you can set targetSelection, buildOptions, checkOptions, testOptions, and benchOptions.

fun flavors(closure: Closure<*>): Unit

projectSettings

Make settings that affect the entire configuration. You can set the working directory, number of jobs, and manifest path.

fun projectSettings(closure: Closure<*>): Unit