{"id":20878884,"url":"https://github.com/codeandtheory/ynetwork-android","last_synced_at":"2025-05-12T16:31:12.079Z","repository":{"id":43170372,"uuid":"504124065","full_name":"codeandtheory/ynetwork-android","owner":"codeandtheory","description":"Y-Network is a networking library for Android.","archived":false,"fork":false,"pushed_at":"2023-02-02T07:22:41.000Z","size":310,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T08:12:15.384Z","etag":null,"topics":["android","kotlin"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codeandtheory.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":"2022-06-16T11:12:56.000Z","updated_at":"2023-09-29T07:51:13.000Z","dependencies_parsed_at":"2023-02-17T16:15:32.666Z","dependency_job_id":null,"html_url":"https://github.com/codeandtheory/ynetwork-android","commit_stats":null,"previous_names":["codeandtheory/ynetwork-android"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeandtheory%2Fynetwork-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeandtheory%2Fynetwork-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeandtheory%2Fynetwork-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeandtheory%2Fynetwork-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeandtheory","download_url":"https://codeload.github.com/codeandtheory/ynetwork-android/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253776776,"owners_count":21962554,"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":["android","kotlin"],"created_at":"2024-11-18T07:14:30.960Z","updated_at":"2025-05-12T16:31:11.718Z","avatar_url":"https://github.com/codeandtheory.png","language":"Kotlin","readme":"![Y—Network](https://mpospese.com/wp-content/uploads/2022/08/YNetwork-hero-compact.jpeg)\n\nLooking for the iOS version of Y--Network? Check it out [here](https://github.com/yml-org/ynetwork-ios). \n\n## Documentation\n\n- Network\n    - [Network-Core](./network/core/Readme.md)\n    - [Network-Android](./network/android/Readme.md)\n\n## How to publish library changes\n\nThe process of publishing a library is 3 steps as follow:\n\n- Clean the project\n    - From Terminal, execute `./gradlew clean`\n    - From Android Studio, Go to \"Build\" -\u003e \"Clean Project\".\n- Execute release build\n    - From Terminal, execute `./gradlew build`\n    - From Android Studio\n        - Click on \"Gradle\" at top of the right sidebar\n        - Then click on the Gradle symbol (a.k.a. \"Execute Gradle Task\" symbol)\n        - This will open a popup for the command, enter the command as `gradle build` and then press\n          enter.\n- Publish the artifactory\n    - From Terminal, execute `./gradlew artifactoryPublish`\n    - From Android Studio\n        - Click on \"Gradle\" at top of the right sidebar\n        - Then click on the Gradle symbol (a.k.a. \"Execute Gradle Task\" symbol)\n        - This will open a popup for the command, enter the command as `gradle artifactoryPublish`\n          and then press enter.\n\n## How to use the library\n\n- Sync your project to allow the changes to reflect.\n- Now add any dependency you like in your project as follow:\n    ```groovy\n    implementation 'com.accelerator.network:core:1.0.0'\n    ```\n    ```groovy\n    implementation 'com.accelerator.network:android:1.0.0'\n    ```\n\n## How to generate Test coverage report\n\n- To generate test coverage report for whole project:\n    - From Terminal, execute `./gradlew build jacocoTestReport`\n    - From Android Studio\n        - Click on \"Gradle\" at top of the right sidebar\n        - Then click on the Gradle symbol (a.k.a. \"Execute Gradle Task\" symbol)\n        - This will open a popup for the command, enter the command\n          as `gradle build jacocoTestReport` and then press enter.\n    - This will generate the report for each module and you can find the report in each module's\n      build folder at \"${buildDir}/jacoco-report/html/index.html\".\n\n- To generate test coverage report for a module:\n    - From Terminal, execute `./gradlew :moduleName:build :moduleName:jacocoTestReport`\n    - From Android Studio\n        - Click on \"Gradle\" at top of the right sidebar\n        - Then click on the Gradle symbol (a.k.a. \"Execute Gradle Task\" symbol)\n        - This will open a popup for the command, enter the command\n          as `gradle :moduleName:build :moduleName:jacocoTestReport` and then press enter.\n    - This will generate the report for that specific module and you can find the report in the\n      module's build folder at \"${buildDir}/jacoco-report/html/index.html\".\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeandtheory%2Fynetwork-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeandtheory%2Fynetwork-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeandtheory%2Fynetwork-android/lists"}