{"id":18542164,"url":"https://github.com/heremaps/here-artifact-gradle-resolver","last_synced_at":"2025-06-14T22:34:35.476Z","repository":{"id":256411372,"uuid":"756814219","full_name":"heremaps/here-artifact-gradle-resolver","owner":"heremaps","description":"The HERE platform Gradle Resolver plugin provides Java and Scala developers with access to platform artifacts via Gradle","archived":false,"fork":false,"pushed_at":"2024-09-12T08:22:07.000Z","size":82,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-26T05:21:34.984Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heremaps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"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":"2024-02-13T11:08:10.000Z","updated_at":"2024-10-04T09:56:13.000Z","dependencies_parsed_at":"2024-09-10T15:47:16.501Z","dependency_job_id":"1874f317-df31-4920-92f3-4faa0b1e7258","html_url":"https://github.com/heremaps/here-artifact-gradle-resolver","commit_stats":null,"previous_names":["heremaps/here-artifact-gradle-resolver"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heremaps%2Fhere-artifact-gradle-resolver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heremaps%2Fhere-artifact-gradle-resolver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heremaps%2Fhere-artifact-gradle-resolver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heremaps%2Fhere-artifact-gradle-resolver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heremaps","download_url":"https://codeload.github.com/heremaps/here-artifact-gradle-resolver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239262353,"owners_count":19609518,"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":[],"created_at":"2024-11-06T20:07:35.987Z","updated_at":"2025-02-17T08:42:51.587Z","avatar_url":"https://github.com/heremaps.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://github.com/heremaps/here-artifact-gradle-resolver/actions/workflows/release.yml/badge.svg)](https://github.com/heremaps/here-artifact-gradle-resolver/actions?query=workflow%3ARelease+branch%3Amaster)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.here.platform.artifact.gradle/gradle-resolver/badge.svg)](https://search.maven.org/artifact/com.here.platform.artifact.gradle/gradle-resolver)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)\n\n# HERE Gradle Resolver for Workspace and Marketplace\n\n## Introduction\nThe HERE platform Gradle resolver plugin provides Java and Scala developers with access to HERE platform\nartifacts via Gradle. It uses your HERE platform credentials to generate tokens so that it can pull your\nGradle project dependencies from the HERE platform.\n\nThis allows Marketplace and Workspace users to [fetch platform schemas](https://www.here.com/docs/bundle/here-workspace-developer-guide-java-scala/page/proto-schema/README.html).\nIn addition, the users can [fetch the Java / Scala Data Client Library](https://www.here.com/docs/bundle/data-client-library-developer-guide-java-scala/page/client/get-data.html)\nwhich offer access to data in the HERE Data API.\n\nGo to [the HERE Developer portal](https://developer.here.com/products/platform) to learn more about the HERE platform.\n\n## Limitation\nThe Gradle resolver plugin is provided 'as is' and not officially part of Workspace or Marketplace.\nWhile there is no official support by HERE, you may still raise issues via GitHub. We may be able to help.\n\n## Prerequisites\nTo access the libraries and schemas from the HERE platform, you need a HERE Workspace and/or a HERE Marketplace account.\nIf you don’t have an account yet, go to [Pricing and Plans](https://www.here.com/get-started/pricing) to apply for a free trial.\n\nOnce you have enabled your account you need to create the credentials and prepare your environment.\nWorkspace users can find corresponding guidance [in the documentation for Java and Scala developers](https://www.here.com/docs/bundle/here-workspace-developer-guide-java-scala/page/topics/how-to-use-sdk.html).\nMarketplace users can find instructions in the [Marketplace Consumer user guide](https://www.here.com/docs/bundle/marketplace-consumer-user-guide/page/topics/link-catalogs.html#set-up-your-credentials).\n\nPlease note, by default the Gradle resolver plugin uses the `credentials.properties` file provided in the `.here` directory in the user home directory.\nThere are three options to override the credentials:\n\n- The first option is the system property `hereCredentialsFile`, the property should be added to the maven command the following way `-DhereCredentialsFile=/full/path/to/credentials.properties`.\n- The second option is the environment variable `HERE_CREDENTIALS_FILE`.  The variable should contain the full file path to the `credentials.properties` file to be used. The variable is taken into account only if there is no system property provided.\n- The third option is the environment variable `HERE_CREDENTIALS_STRING`, the variable should have the following format:\n```\nhere.access.key.id=...\nhere.access.key.secret=...\nhere.client.id=...\nhere.user.id=...\nhere.token.endpoint.url=...\n```\nNote that providing credentials via `HERE_CREDENTIALS_STRING` variable have the lowest precedence\n\n## How to use it?\nThis Gradle resolver plugin is published on [Maven Central](https://search.maven.org/artifact/com.here.platform.artifact/gradle-resolver)\nso you can conveniently use it from your project.\nThe `gradle-resolver` plugin can be registered by adding an entry to `build.gradle` file as follows:\n\n\n    plugins {\n        id 'com.here.platform.artifact.gradle' version '1.0.0'\n    }\n    repositories {\n        here()\n    }\n\n\nFor example, to fetch the HERE Map Content - Topology Geometry - Protocol Buffers schema and the related Java and Scala bindings set the following dependencies:\n\n\n    dependencies {\n        implementation \"com.here.schema.rib:topology-geometry_v2_java:2.109.0\"\n    }\n\n#### Proxy Setup\nTo enable Gradle and the HERE Gradle resolver plugin to work behind a proxy,\nyou need to use standard `http_proxy` and `https_proxy` environment variables, like:\n```shell\ngradle build -Dhttps.proxyHost=$PROXY_HOST  -Dhttps.proxyPort=$PROXY_PORT -Dhttps.proxyUser=$PROXY_USERNAME -Dhttps.proxyPassword=$PROXY_PASSWORD\n```\nAlternatively, pass those by setting `JAVA_OPTS` in the environment variable, like:\n```shell\nexport JAVA_OPTS=\"-Dhttps.proxyHost=$PROXY_HOST  -Dhttps.proxyPort=$PROXY_PORT -Dhttps.proxyUser=$PROXY_USERNAME -Dhttps.proxyPassword=$PROXY_PASSWORD\"\n```\n\n## License\nCopyright (C) 2019-2024 HERE Europe B.V.\n\nUnless otherwise noted in `LICENSE` files for specific files or directories, the [LICENSE](LICENSE) in the root applies to all content in this repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheremaps%2Fhere-artifact-gradle-resolver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheremaps%2Fhere-artifact-gradle-resolver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheremaps%2Fhere-artifact-gradle-resolver/lists"}