π οΈ A complete, modular and flexible toolset for all your Java β projects
GPL-3.0 License
β οΈ The project is still in development, so publishing to MavenCentral will be done later. Creating a modular project require to open a new ticket for every module, so it's very long. π¦ All artifacts are available on Maven Central, and in GitHub Packages as fallback.
repositories {
// Maven Central
mavenCentral()
// My Github Packages, as fallback if there is any problem with Maven Central
maven {
url = "https://maven.pkg.github.com/nullptr-rs/nullptr-tools"
credentials {
username System.getenv("Your GitHub username")
password System.getenv("Your GitHub password or personal access token")
}
}
}
dependencies {
implementation "io.github.nullptr:Module ID:Latest version"
}
<project>
<repositories>
<!-- My GitHub Packages, as fallback if there is any problem with my Maven Central -->
<repository>
<id>github</id>
<name>GitHub nullptr-rs Apache Maven Packages</name>
<url>https://maven.pkg.github.com/nullptr-rs/nullptr-tools</url>
<credentials>
<username>Your GitHub username</username>
<password>Your GitHub password or personal access token</password>
</credentials>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>io.github.nullptr</groupId>
<artifactId>Module ID</artifactId>
<version>Latest version</version>
</dependency>
</dependencies>
</project>
final RedisConnection connection = new RedisConnection.Builder().withHost(() -> "127.0.0.1").withPassword(() -> "my-password").build();
connection.execute(jedis -> jedis.set("foo", "bar"));
final String foo = connection.executeAndReturn(jedis -> {
final String value = jedis.get("foo");
return value + " world";
});
final DockerManager docker = new DockerManager.Builder().withHost(DockerHost.TCP_DAEMON).build();
final DockerClient client = docker.getClient();
final DockerInfoManager info = docker.getInfoManager();
final DockerImageManager image = docker.getImageManager();
final DockerSwarmManager swarm = docker.getSwarmManager();
final DockerVolumeManager volume = docker.getVolumeManager();
final DockerNetworkManager network = docker.getNetworkManager();
final DockerContainerManager container = docker.getContainerManager();
You can open a Discussion, and ask for help.
You can open an Issue, describe the problem, and report it.
If you like the project, you can leave a star, or consider sponsoring me.
The project is open-source, so you can fork it and open a pull request to add new features or fix bugs.
The project is released under the GNU GPLv3 license. To learn more about it and understand what it commits you to, check this page.
@nullptr-rs |
---|