Package-level declarations

Types

Link copied to clipboard
data class AarArchive(val aarMetadata: AarMetadata, val androidManifest: AndroidManifest, val classes: Classes, val resources: Resources, val rTxt: RTxt, val publicTxt: PublicTxt, val assets: Assets, val libs: Libs, val jni: Jni, val proguard: Proguard, val lintRules: LintRules, val navigationJson: NavigationJson, val apiJar: ApiJar) : ArtifactArchive

Represents a packaged aar archive output.

Link copied to clipboard
data class AarMetadata(val lines: List<String>)

Represents the contents of the META-INF/com/android/build/gradle/aar-metadata.properties file.

Link copied to clipboard

Represents the contents of the AndroidManifest.xml file.

Link copied to clipboard
data class ApiJar(val archive: GenericJarArchive)

Represents the contents of the api.jar file, the IDE sources for an ArtifactArchive.

Link copied to clipboard
sealed class ArtifactArchive

The base class of a packaged archive output, typically either a jar or aar file.

Link copied to clipboard
data class Assets(val files: FileSet)

Represents the contents of the assets/ folder.

Link copied to clipboard
data class Classes(val archive: GenericJarArchive)

Represents the contents of the classes.jar file, the main runtime sources for an ArtifactArchive.

Link copied to clipboard
class FileSet(val indexedFiles: Map<String, ByteArray>) : Map<String, ByteArray>

Represents an arbitrary set of files, indexed by their relative file path to a specified root.

Link copied to clipboard
class GenericJarArchive(val archiveEntries: Map<String, ByteArray>) : Map<String, ByteArray>

Represents an arbitrary set of jar entries, indexed by their relative file path to the root folder.

Link copied to clipboard
data class JarArchive(val classes: Classes) : ArtifactArchive

Represents a packaged jar archive output.

Link copied to clipboard
data class Jni(val files: FileSet)

Represents the compiled native files in the jni/ folder.

Link copied to clipboard
data class Libs(val files: FileSet)

Represents the set of jar files in the libs/ folder.

Link copied to clipboard
data class LintRules(val archive: GenericJarArchive)

Represents the set of consumer Lint rules.

Link copied to clipboard

Represents the contents of the navigation.json file.

Link copied to clipboard
data class Proguard(val lines: List<String>)

Represents the set of consumer Proguard rules.

Link copied to clipboard
class PublicTxt

Represents the contents of the public.txt file.

Link copied to clipboard
data class Resources(val files: FileSet, val packageName: String, val minSdk: Int, val androidAaptIgnore: String)

Represents the contents of the res/ folder.

Link copied to clipboard
class RTxt

Represents the contents of the R.txt file.

Link copied to clipboard
data class ShadeConfiguration(val classRenames: Map<String, String>, val classDeletes: Set<String>, val resourceRenames: Map<String, String>, val resourceDeletes: Set<String>) : Serializable

Defines the rules for shading, following a syntax for pattern matching classes and resources.