VariantClasspathJar

@CacheableTask
abstract class VariantClasspathJar : KeeperJarTask

A simple cacheable task that creates a jar from given allDirectories and allJars. Normally these aren't intended to be cacheable, but in our case it's fine since the resulting jar is an input of a task and not just a transient operation of another plugin.

This uses ZipFlinger under the hood to run the copy operation performantly.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
@get:OutputFile
abstract val appJarsFile: RegularFileProperty
Link copied to clipboard
@get:OutputFile
abstract val archiveFile: RegularFileProperty

Functions

Link copied to clipboard
fun createJar()