Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateInitGradle ¶
func GenerateInitGradle(endpointURL, authToken string, preferences Preferences, cacheConfigMetadata common.CacheConfigMetadata) (string, error)
Generate init.gradle content. Recommended to save the content into $HOME/.gradle/init.d/ instead of overwriting the $HOME/.gradle/init.gradle file.
Types ¶
type CacheValidationLevel ¶ added in v0.14.4
type CacheValidationLevel string
var ( CacheValidationLevelNone CacheValidationLevel = "none" CacheValidationLevelWarning CacheValidationLevel = "warning" CacheValidationLevelError CacheValidationLevel = "error" )
type Preferences ¶ added in v0.14.4
type Preferences struct { IsPushEnabled bool CacheLevelValidation CacheValidationLevel IsAnalyticsEnabled bool IsDebugEnabled bool }
Click to show internal directories.
Click to hide internal directories.