{"id":21030701,"url":"https://github.com/cdancy/gradle-artifactory-rest-plugin","last_synced_at":"2025-05-15T11:32:58.115Z","repository":{"id":4669809,"uuid":"52522868","full_name":"cdancy/gradle-artifactory-rest-plugin","owner":"cdancy","description":"Gradle plugin for working with Artifactory's REST API","archived":false,"fork":false,"pushed_at":"2022-05-13T15:56:35.000Z","size":759,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T08:42:47.195Z","etag":null,"topics":["artifactory","artifactory-rest","gradle","gradle-plugin","plugin"],"latest_commit_sha":null,"homepage":"","language":"Groovy","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/cdancy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-25T12:29:07.000Z","updated_at":"2021-11-03T13:47:58.000Z","dependencies_parsed_at":"2022-08-09T03:30:14.540Z","dependency_job_id":null,"html_url":"https://github.com/cdancy/gradle-artifactory-rest-plugin","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdancy%2Fgradle-artifactory-rest-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdancy%2Fgradle-artifactory-rest-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdancy%2Fgradle-artifactory-rest-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdancy%2Fgradle-artifactory-rest-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdancy","download_url":"https://codeload.github.com/cdancy/gradle-artifactory-rest-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254330932,"owners_count":22053079,"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":["artifactory","artifactory-rest","gradle","gradle-plugin","plugin"],"created_at":"2024-11-19T12:19:51.384Z","updated_at":"2025-05-15T11:32:55.534Z","avatar_url":"https://github.com/cdancy.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n[![Build Status](https://travis-ci.org/cdancy/gradle-artifactory-rest-plugin.svg?branch=master)](https://travis-ci.org/cdancy/gradle-artifactory-rest-plugin)\n[![codecov](https://codecov.io/gh/cdancy/gradle-artifactory-rest-plugin/branch/master/graph/badge.svg)](https://codecov.io/gh/cdancy/gradle-artifactory-rest-plugin)\n[![Download](https://api.bintray.com/packages/cdancy/gradle-plugins/gradle-artifactory-rest-plugin/images/download.svg) ](https://bintray.com/cdancy/gradle-plugins/gradle-artifactory-rest-plugin/_latestVersion)\n[![Stack Overflow](https://img.shields.io/badge/stack%20overflow-gradle\u0026#8211;artifactory\u0026#8211;rest\u0026#8211;plugin-4183C4.svg)](https://stackoverflow.com/questions/tagged/gradle+artifactory+rest+plugin)\n\n# gradle-artifactory-rest-plugin\n\nGradle plugin, based on jclouds, for interacting with Artifactory's REST API.\n\n## Setup\nPlugin is hosted on gradles plugin-portal so build scripts **may** have to be adjusted to account for this.\n\n```\nplugins {\n    id(\"com.github.gradle.artifactory.rest\") version \"X.Y.Z\"\n}\n```\n## Extension\n\nThe `artifactoryRest` extension is provided to define the `endpoint` and `credentials` for connecting to an Artifactory instance. Using the extension, and subsequently exposing this potentially private information, is required only if one does NOT want to use the various means of setting the aforementioned properties noted in the `Credentials` section below.\n\nBecause we are built on top of jclouds we can take advantage of overriding various internal _HTTP_ properties by\nsetting the `overrides` property or, and in following with the spirit of this plugin, configuring them\nthrough `System Properties` of `Environment Variables`. Further directions on how to set them through `System Properties` and `Environment Variables` can be found [HERE](https://github.com/cdancy/bitbucket-rest#on-system-property-and-environment-variable-setup). \n\nThe properties a given client can configure can be\nfound [HERE](https://github.com/jclouds/jclouds/blob/master/core/src/main/java/org/jclouds/Constants.java).\n\n```\nartifactoryRest {\n    url { \"https://localhost:8081/artifactory\" } // Optional and can be sourced from sys-prop/env-var. Default to shown URL.\n    credentials { \"admin:password\" } // Optional and can be sourced from sys-prop/env-var. Default to anonymous auth.\n\n    // Optional and can be sourced from sys-prop/env-var.\n    overrides = [\"jclouds.so-timeout\" : \"300000\", \n                 \"jclouds.connection-timeout\" : \"300000\",\n                 \"jclouds.retries-delay-start\" : \"60000\",\n                 \"jclouds.max-retries\" : \"5\" ]\n}\n```\n\n## Credentials\n\nBecause this plugin builds on top of [artifactory-rest](https://github.com/cdancy/artifactory-rest) library one can supply\n[credentials](https://github.com/cdancy/artifactory-rest#credentials) in any form this library accepts. Furthermore,\n[artifactory-rest](https://github.com/cdancy/artifactory-rest#property-based-setup) allows the `endpoint` and `credentials`\nto be optionally supplied through properties or environment variables. This gives great flexibility in the way the user\nwants to define and/or hide their credentials assuming one does not want to use the `artifactoryRest` extension.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdancy%2Fgradle-artifactory-rest-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdancy%2Fgradle-artifactory-rest-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdancy%2Fgradle-artifactory-rest-plugin/lists"}