Utility library that provides some generic data beans like pair, triple and quattro.
If you like this project put a ⭐ and donate
If you like this library, please consider a donation through paypal:
or over bitcoin or bitcoin-cash with:
36JxRRDfRazLNqUV6NsywCw1q7TK38ukpC
or over ether with:
0x588Aa02De98B1Ef70afeDC3ec5290130a3E5e273
or over flattr:
No animals were harmed in the making of this library.
The source code comes under the liberal MIT License, making silly-bean great for all types of applications.
gradle (click to expand)
Replace the variable ${latestVersion} with the current latest version:
You can first define the version in the ext section and add than the following gradle dependency to
your project build.gradle
if you want to import the core functionality of silly-bean:
define version in file gradle.properties
sillyBeanVersion=${latestVersion}
or in build.gradle ext area
sillyBeanVersion = "${latestVersion}"
then add the dependency to the dependencies area
implementation("io.github.astrapi69:silly-bean:$sillyBeanVersion")
If you use the new libs.versions.toml file for new automatic catalog versions update
[versions]
silly-bean-version= "${latestVersion}"
[libraries]
silly-bean = { module = "io.github.astrapi69:silly-bean", version.ref = "silly-bean-version" }
then add the dependency to the dependencies area
implementation libs.silly.bean
Maven (click to expand)
Maven dependency is now on sonatype. Check out sonatype repository for latest snapshots and releases.
Add the following maven dependency to your project pom.xml
if you want to import the core
functionality of silly-bean:
Then you can add the dependency to your dependencies:
<properties>
...
<!-- silly-bean version -->
<silly-bean.version>${latestVersion}</silly-bean.version>
...
</properties>
...
<dependencies>
...
<!-- silly-bean DEPENDENCY -->
<dependency>
<groupId>io.github.astrapi69</groupId>
<artifactId>silly-bean</artifactId>
<version>${silly-bean.version}</version>
</dependency>
...
</dependencies>
Snapshots (click to expand)
This section describes how to import snapshot versions into your project. Add the following code snippet to your gradle file in the repositories section:
repositories {
//...
maven {
name "Sonatype Nexus Snapshots"
url "https://oss.sonatype.org/content/repositories/snapshots"
mavenContent {
snapshotsOnly()
}
}
}
The versions of silly-bean are maintained with the Simplified Semantic Versioning guidelines.
Release version numbers will be incremented in the following format:
<major>.<minor>.<patch>
For detailed information on versioning for this project you can visit this wiki page.
The source code for silly-bean are on GitHub. Please feel free to fork and send pull requests!
Create your own fork of astrapi69/silly-bean/fork
To share your changes, submit a pull request.
Don't forget to add new units tests on your changes.
Do not hesitate to contact the silly-bean developers with your questions, concerns, comments, bug reports, or feature requests.
- Feature requests, questions and bug reports can be reported at the issues page.
Nexus Sonatype repositories |
---|
Special thanks to sonatype repository for providing a free maven repository service for open source projects |
coveralls.io |
---|
Special thanks to coveralls.io for providing a free code coverage for open source projects |
javadoc.io |
---|
Special thanks to javadoc.io for providing a free javadoc documentation for open source projects |