{"id":18360639,"url":"https://github.com/samasaur1/utilities","last_synced_at":"2026-04-26T22:31:41.983Z","repository":{"id":96639318,"uuid":"140494162","full_name":"Samasaur1/Utilities","owner":"Samasaur1","description":"A collection of Java utilities","archived":false,"fork":false,"pushed_at":"2019-12-28T01:08:39.000Z","size":222,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T04:26:14.969Z","etag":null,"topics":["gradle","hacktoberfest","jar","java","java-utilities","utilities"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"afl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Samasaur1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-10T22:34:45.000Z","updated_at":"2020-10-08T18:09:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"deab694f-8691-4b69-80ae-272287fecbff","html_url":"https://github.com/Samasaur1/Utilities","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/Samasaur1/Utilities","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samasaur1%2FUtilities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samasaur1%2FUtilities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samasaur1%2FUtilities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samasaur1%2FUtilities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Samasaur1","download_url":"https://codeload.github.com/Samasaur1/Utilities/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samasaur1%2FUtilities/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32315711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T21:09:39.134Z","status":"ssl_error","status_checked_at":"2026-04-26T21:09:21.240Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gradle","hacktoberfest","jar","java","java-utilities","utilities"],"created_at":"2024-11-05T22:29:17.590Z","updated_at":"2026-04-26T22:31:41.958Z","avatar_url":"https://github.com/Samasaur1.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Utilities [![Build Status](https://travis-ci.com/Samasaur1/Utilities.svg?branch=master)](https://travis-ci.com/Samasaur1/Utilities) [![](https://jitpack.io/v/Samasaur1/Utilities.svg)](https://jitpack.io/#Samasaur1/Utilities)\nA collection of Java utilities\n\n## Installation\nIf you use Gradle, Maven, SBT, or Leiningen, follow [this](https://jitpack.io/#Samasaur1/Utilities) guide.\n\nAnt is also supported but does not have a guide.\n\nIf you want to download the library manually, head on over to the [Releases page](https://github.com/Samasaur1/Utilities/releases) and download the latest release.\n\n## Implementation\nImport `com.gauck.sam.Utilities.*;`\n\nThe main `Utilities` class should be used similarly to `java.lang.Math`. This means that users should call its static methods and not try to instantiate.\n\n## Common Errors\n### NoClassDefFoundError (Gradle)\nIf your stack trace looks like this: (the `at` lines will be different)\n```\nException in thread \"main\" java.lang.NoClassDefFoundError: com/gauck/sam/Utilities/Utilities\n\tat com.samgauck.CityManagement.Economy.\u003cinit\u003e(Economy.java:14)\n\tat com.samgauck.CityManagement.Economy.getInstance(Economy.java:29)\n\tat com.samgauck.CityManagement.Command.\u003cinit\u003e(Command.java:23)\n\tat com.samgauck.CityManagement.Command.getInstance(Command.java:46)\n\tat com.samgauck.CityManagement.Main.\u003cclinit\u003e(Main.java:44)\nCaused by: java.lang.ClassNotFoundException: com.gauck.sam.Utilities.Utilities\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:381)\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\n\t... 5 more\n```\nadd the line\n```\nfrom configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }\n```\nto the jar block. However, this may cause this error:\n```\nCannot change dependencies of configuration ':compile' after it has been resolved\n```\nIn order to fix this, ensure that your dependencies block is before your jar block (and if you have a repositories block, that should be first).\n\nSee https://github.com/Samasaur1/CityManagement/issues/37 and https://github.com/Samasaur1/Utilities/issues/10\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamasaur1%2Futilities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamasaur1%2Futilities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamasaur1%2Futilities/lists"}