DeploySpec

public final class DeploySpec

You can configure the process of a jar compatible with both Desktop and Android.

Constructors

Link copied to clipboard
public DeploySpec DeploySpec(Project target)

Functions

Link copied to clipboard
public final Property<String> get_androidSdkRoot()
Link copied to clipboard
public final String getAndroidSdkRoot()
Link copied to clipboard
public final String getBaseName()
Link copied to clipboard
public final String getClassifier()
Link copied to clipboard
public final Property<Boolean> getEnableFatJar()

Whether to make a fat jar, which contains all dependencies from classpath.

Link copied to clipboard
public final Unit getFatJar()
Link copied to clipboard
public final Unit getNoFatJar()
Link copied to clipboard
public final String getVersion()
Link copied to clipboard
public final Unit setAndroidSdkRoot(@InheritFromParent() String androidSdkRoot)
Link copied to clipboard
public final Unit setBaseName(String baseName)
Link copied to clipboard
public final Unit setClassifier(String classifier)
Link copied to clipboard
public final Unit setVersion(String version)

Properties

Link copied to clipboard
private final Property<String> _androidSdkRoot
Link copied to clipboard
public final Property<String> _baseName
Link copied to clipboard
public final Property<String> _classifier
Link copied to clipboard
public final Property<String> _version
Link copied to clipboard
private String androidSdkRoot

Configure the path of Android SDK.

Link copied to clipboard
private String baseName

The deploy jar name: "baseName-version-classifier.jar".

Link copied to clipboard
private String classifier

The deploy jar name: "baseName-version-classifier.jar"

Link copied to clipboard
private final Property<Boolean> enableFatJar

Whether to make a fat jar, which contains all dependencies from classpath.

Link copied to clipboard
private final Unit fatJar

Enable the fat jar.

Link copied to clipboard
private final Unit noFatJar

Disable the fat jar.

Link copied to clipboard
private String version

The deploy jar name: "baseName-version-classifier.jar"