IndexV1Creator

class IndexV1Creator(packageManager: PackageManager, repoDir: File, packageNames: Set<String>, repo: RepoV1) : IndexCreator<IndexV1>

Creates a deprecated V1 index from the given packageNames with information obtained from the PackageManager.

Attention: While createRepo creates index-v1.json, it does not create a signed index-v1.jar. The caller needs to handle this last signing step themselves.

Constructors

Link copied to clipboard
constructor(packageManager: PackageManager, repoDir: File, packageNames: Set<String>, repo: RepoV1)

Functions

Link copied to clipboard
open override fun createRepo(): IndexV1