Skip to content

astrapi69/silly-bean

Repository files navigation

Overview

Java CI with Gradle Coverage Status Open Issues Maven Central Javadocs MIT license Donate

Utility library that provides some generic data beans like pair, triple and quattro.

If you like this project put a ⭐ and donate

Donations

If you like this library, please consider a donation through paypal: PayPal this

or over bitcoin or bitcoin-cash with:

36JxRRDfRazLNqUV6NsywCw1q7TK38ukpC

or over ether with:

0x588Aa02De98B1Ef70afeDC3ec5290130a3E5e273

or over flattr:

Flattr this

Note

No animals were harmed in the making of this library.

License

The source code comes under the liberal MIT License, making silly-bean great for all types of applications.

Import dependencies to your project

gradle (click to expand)

gradle dependency

Replace the variable ${latestVersion} with the current latest version: Maven Central

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")

with new libs.versions.toml file

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

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)

📸 Snapshots

Snapshot

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()
        }
    }
}

Semantic Versioning

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.

Want to Help and improve it?

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.

Contacting the Developers

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.

Credits

Nexus Sonatype repositories
sonatype repository
Special thanks to sonatype repository for providing a free maven repository service for open source projects
coveralls.io
Coverage Status
Special thanks to coveralls.io for providing a free code coverage for open source projects
javadoc.io
Javadocs
Special thanks to javadoc.io for providing a free javadoc documentation for open source projects