FilePathAware

class FilePathAware(roots: Roots, rootPackageName: String = "") : PackageNameGenerator

Constructors

Link copied to clipboard
fun FilePathAware(roots: Roots, rootPackageName: String = "")

Functions

Link copied to clipboard
open override fun packageName(filePath: String): String

This will be called with

Properties

Link copied to clipboard
open override val version: String

A version that is used as input of the Gradle task. Since PackageNameGenerator cannot easily be serialized and influences the output of the task, we need a way to mark the task out-of-date when the implementation changes.