JbrResolver

abstract class JbrResolver @Inject constructor(jreRepository: Provider<String>, archiveUtils: ArchiveUtils, dependenciesDownloader: DependenciesDownloader, context: String?)

Constructors

Link copied to clipboard
@Inject
fun JbrResolver(jreRepository: Provider<String>, archiveUtils: ArchiveUtils, dependenciesDownloader: DependenciesDownloader, context: String?)

Functions

Link copied to clipboard
fun resolve(version: String?, variant: String?, arch: String?): Jbr?
Link copied to clipboard
fun resolveRuntime(runtimeDir: String? = null, jbrVersion: String? = null, jbrVariant: String? = null, jbrArch: String? = null, ideDir: File? = null, resolveExecutable: Boolean = true, validate: (executable: Path) -> Boolean = { true }): Path?
Link copied to clipboard
fun resolveRuntimeDir(runtimeDir: String? = null, jbrVersion: String? = null, jbrVariant: String? = null, jbrArch: String? = null, ideDir: File? = null, validate: (executable: Path) -> Boolean = { true }): Path?