Package io.github.intisy.gradle.inno
Class GitHub
- java.lang.Object
-
- io.github.intisy.gradle.inno.GitHub
-
public class GitHub extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Pathdownload()voiddownloadFile(String fileUrl, File outputFile)org.gradle.internal.impldep.com.google.gson.JsonObjectgetLatestReleaseZip(String apiUrl)voidlog(String log)static voidunzipAndFlatten(File zipFilePath, File outputDirectory)
-
-
-
Constructor Detail
-
GitHub
public GitHub(String releaseUrl, boolean debug)
-
-
Method Detail
-
log
public void log(String log)
-
download
public Path download()
-
unzipAndFlatten
public static void unzipAndFlatten(File zipFilePath, File outputDirectory) throws IOException
- Throws:
IOException
-
getLatestReleaseZip
public org.gradle.internal.impldep.com.google.gson.JsonObject getLatestReleaseZip(String apiUrl) throws Exception
- Throws:
Exception
-
-