Package-level declarations

Types

Link copied to clipboard
@CacheableTask
abstract class CheckDependencyRulesTask : DefaultTask
Link copied to clipboard
abstract class ComputeGitShaTask : DefaultTask
Link copied to clipboard
abstract class ComputeGitTimestampTask : DefaultTask
Link copied to clipboard
abstract class ComputeVersionCodeTask : DefaultTask
Link copied to clipboard
abstract class ComputeVersionNameTask : DefaultTask
Link copied to clipboard
abstract class UpdateLicensesTask : Copy
Link copied to clipboard
abstract class VerifyLicensesTask : DefaultTask

Functions

Link copied to clipboard
fun computeVersionCode(git: Git, gitTagPrefix: String, localDate: LocalDateTime): Int

Get the app version name, which is computed using the branch name or git describe.

Link copied to clipboard

Tagged commits use the version to compute the version code.

Link copied to clipboard
fun computeVersionName(git: Git, gitTagPrefix: String): String

Get the app version name, which is computed using the branch name or git describe.

Link copied to clipboard

Computes a version based on the given date. The last 2 digits of the year are taken as major version, the week number as minor. The week based year is used to stay consistent

Link copied to clipboard
fun versionNameFromTag(tag: String, gitTagPrefix: String): String

See versionNameFromTag overload.