All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.icestuff.getdown.maven.JavaDownload Maven / Gradle / Ivy

Go to download

Creates deployable, updateable java applications using Getdown (https://github.com/threerings/getdown/).

The newest version!
package org.icestuff.getdown.maven;

import org.apache.maven.plugins.annotations.Parameter;

public class JavaDownload implements OsSpecific {

	/**
	 * One of 'linux', 'windows' or 'mac os x'
	 */
	@Parameter(property = "download.os")
	String os;

	/**
	 * One of 'amd64', 'x86' or 'i386' etc.
	 */
	@Parameter(property = "download.arch")
	String arch;

	/**
	 * Resource path. May be a full URL, relative to the root of the appbase, or relative to
	 * the appbase
	 */
	@Parameter(property = "download.path")
	String path;

	public String getOs() {
		return os;
	}

	public String getArch() {
		return arch;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy