Common utilities for Java applications
- Multiple ways to extract ZIP archives
- Customizable: rename extracted files before they are extracted
- Get remote file contents
- Download remote content and write them to file
- Get an instance of a URL without having to handle an exception
- Read InputStreams easily
- Detect the host operating system
- Get a resource as a File object
- SHA-1, SHA-256, SHA-384, SHA-512, MD5
- Hexadecimal conversion
- We'll see! Submit a suggestion inside issues.
Add the Pocolifo repository and Commons dependency
repositories {
maven {
name 'pocolifo'
url 'https://maven.services.pocolifo.com'
}
}
dependencies {
implementation 'com.pocolifo:commons:1.2.1'
}
- Clone this repository
- Open the project in IntelliJ IDEA or another editor
- Add an environment variable called
RUNNER_OS
inside thetest
Gradle task. Set it to your OS. Can beLinux
,Windows
, ormacOS
. For more information, see GitHub's docs. - Get developing!