rustic / com.osm.gradle.plugins.process / RusticTaskProcessBase

RusticTaskProcessBase

abstract class RusticTaskProcessBase<T : RustToolBase> : IRusticTaskProcess, LoggerSupport

Constructors

<init>

RusticTaskProcessBase(project: Project, settings: ProjectSettings, variant: BuildVariant)

Properties

project

val project: Project

settings

val settings: ProjectSettings

variant

val variant: BuildVariant

Functions

call

This function is called when RusticTask is executed. Not executed when BuildVariant # enable is false.

abstract fun call(tool: T): Unit

createToolBase

Create an instance of RustToolBase.

abstract fun createToolBase(): T

run

This method is called when a RusticTask is executed.

open fun run(): Unit

Inheritors

CargoTaskProcessBase

abstract class CargoTaskProcessBase : RusticTaskProcessBase<Cargo>

RustupTaskProcessBase

abstract class RustupTaskProcessBase : RusticTaskProcessBase<Rustup>