{"id":17920775,"url":"https://github.com/hengyunabc/spring-boot-utils","last_synced_at":"2025-03-24T00:32:30.663Z","repository":{"id":57733412,"uuid":"138251792","full_name":"hengyunabc/spring-boot-utils","owner":"hengyunabc","description":"Spring boot 1 and spring boot 2 compatible utils.","archived":false,"fork":false,"pushed_at":"2018-07-21T16:12:56.000Z","size":55,"stargazers_count":17,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-16T07:34:50.347Z","etag":null,"topics":["spring-boot","spring-boot-2"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hengyunabc.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}},"created_at":"2018-06-22T03:47:23.000Z","updated_at":"2024-02-07T06:28:02.000Z","dependencies_parsed_at":"2022-09-26T22:11:24.698Z","dependency_job_id":null,"html_url":"https://github.com/hengyunabc/spring-boot-utils","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hengyunabc%2Fspring-boot-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hengyunabc%2Fspring-boot-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hengyunabc%2Fspring-boot-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hengyunabc%2Fspring-boot-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hengyunabc","download_url":"https://codeload.github.com/hengyunabc/spring-boot-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221929045,"owners_count":16903333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["spring-boot","spring-boot-2"],"created_at":"2024-10-28T20:27:14.216Z","updated_at":"2024-10-28T20:27:14.834Z","avatar_url":"https://github.com/hengyunabc.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\nSpring boot 1 and spring boot 2 compatible utils.\n\n\nSearch the latest version in the cnetral repository : [Search](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.github.hengyunabc%22%20AND%20a%3A%22spring-boot-utils%22)\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.github.hengyunabc\u003c/groupId\u003e\n    \u003cartifactId\u003espring-boot-utils\u003c/artifactId\u003e\n    \u003cversion\u003e$version\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Conditional Annotation\n\n* @ConditionalOnSpringBoot1\n* @ConditionalOnSpringBoot2\n\n## BinderUtils\n\n`org.springframework.boot.bind.RelaxedDataBinder` only exists in spring boot 1.\n\n`org.springframework.boot.context.properties.bind.Binder` on exists in spring boot 2.\n\n`BinderUtils` support both spring boot 1 and spring boot 2.\n\n```java\nTestConfig testConfig = BinderUtils.bind(environment, \"ttt\", TestConfig.class);\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhengyunabc%2Fspring-boot-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhengyunabc%2Fspring-boot-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhengyunabc%2Fspring-boot-utils/lists"}