{"id":28534367,"url":"https://github.com/esri/java-gradle-starter-project","last_synced_at":"2025-06-17T09:06:18.802Z","repository":{"id":34730759,"uuid":"171717625","full_name":"Esri/java-gradle-starter-project","owner":"Esri","description":"Starter project for the ArcGIS Maps SDK for Java with Gradle","archived":false,"fork":false,"pushed_at":"2024-10-28T13:32:37.000Z","size":942,"stargazers_count":8,"open_issues_count":2,"forks_count":86,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-06-09T17:12:32.386Z","etag":null,"topics":["arcgis-maps-sdk","arcgis-maps-sdk-for-java","gradle","java","javafx","native-development"],"latest_commit_sha":null,"homepage":"","language":"Java","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/Esri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2019-02-20T17:20:46.000Z","updated_at":"2024-08-01T09:10:10.000Z","dependencies_parsed_at":"2023-02-11T10:45:16.830Z","dependency_job_id":"acb8011e-6418-4c96-8ecf-a5562e0e32d9","html_url":"https://github.com/Esri/java-gradle-starter-project","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/Esri/java-gradle-starter-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esri%2Fjava-gradle-starter-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esri%2Fjava-gradle-starter-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esri%2Fjava-gradle-starter-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esri%2Fjava-gradle-starter-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Esri","download_url":"https://codeload.github.com/Esri/java-gradle-starter-project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esri%2Fjava-gradle-starter-project/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260326680,"owners_count":22992381,"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":["arcgis-maps-sdk","arcgis-maps-sdk-for-java","gradle","java","javafx","native-development"],"created_at":"2025-06-09T17:10:52.823Z","updated_at":"2025-06-17T09:06:18.794Z","avatar_url":"https://github.com/Esri.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# java-gradle-starter-project\n\nHere is a starter project for the ArcGIS Maps SDK for Java with Gradle. \n\nThe project includes the Gradle wrapper, so there is no need to install Gradle to run the app.\n\nThe app launches a window displaying a map.\n\n![screenshot](screenshot.png)\n\n## Instructions\n\n### IntelliJ IDEA\n\n1. Open IntelliJ IDEA and select _File \u003e Open..._.\n2. Choose the java-gradle-starter-project directory and click _OK_.\n3. Select _File \u003e Project Structure..._ and ensure that the Project SDK and language level are set to use Java 17.\n4. Open the Gradle view with _View \u003e Tool Windows \u003e Gradle_.\n5. In the Gradle view, double-click `copyNatives` under _Tasks \u003e build_. This will unpack the native library dependencies to $USER_HOME/.arcgis.\n6. In the Gradle view, double-click `run` under _Tasks \u003e application_ to run the app.\n\n### Eclipse\n\n1. Open Eclipse and select _File \u003e Import_.\n2. In the import wizard, choose _Gradle \u003e Existing Gradle Project_, then click _Next_.\n3. Select the java-gradle-starter-project directory as the project root directory.\n4. Click _Finish_ to complete the import.\n5. Select _Project \u003e Properties_ . In _Java Build Path_, ensure that under the Libraries tab, _Modulepath_ is set to JRE System Library (JavaSE-17). In _Java Compiler_, ensure that the _Use compliance from execution environment 'JavaSE-17' on the 'Java Build Path'_ checkbox is selected.\n6. Right-click the project in the Project Explorer or Package Explorer and choose _Gradle \u003e Refresh Gradle project_.\n7. Open the Gradle Tasks view with _Window \u003e Show View \u003e Other... \u003e Gradle \u003e Gradle Tasks_.\n8. In the Gradle Tasks view, double-click `copyNatives` under _java-gradle-starter-project \u003e build_. This will unpack the native library dependencies to $USER_HOME/.arcgis.\n9. In the Gradle Tasks view, double-click `run` under _java-gradle-starter-project \u003e application_ to run the app.\n\n### Command Line\n\n1. `cd` into the project's root directory.\n2. Run `./gradlew clean build` on Linux/Mac or `gradlew.bat clean build` on Windows.\n3. Run `./gradlew copyNatives` on Linux/Mac or `gradlew.bat copyNatives` on Windows. This will unpack the native library dependencies to $USER_HOME.arcgis.\n4. Run `./gradlew run` on Linux/Mac or `gradlew.bat run` on Windows to run the app.\n\n## Requirements\n\nSee the Java Maps SDK [system requirements](https://developers.arcgis.com/java/reference/system-requirements/).\n\n## Resources\n\n* [ArcGIS Maps SDK for Java](https://developers.arcgis.com/java/)  \n* [ArcGIS Blog](https://www.esri.com/arcgis-blog/developers/)  \n* [Esri Twitter](https://twitter.com/arcgisdevs)  \n\n## Issues\n\nFind a bug or want to request a new feature?  Please let us know by submitting an issue.\n\n## Contributing\n\nEsri welcomes contributions from anyone and everyone. Please see our [guidelines for contributing](https://github.com/esri/contributing).\n\n## Licensing\n\nCopyright 2023 Esri\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not \nuse this file except in compliance with the License. You may obtain a copy \nof the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software \ndistributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT \nWARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the \nLicense for the specific language governing permissions and limitations \nunder the License.\n\nA copy of the license is available in the repository's license.txt file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesri%2Fjava-gradle-starter-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fesri%2Fjava-gradle-starter-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesri%2Fjava-gradle-starter-project/lists"}