### Search Releases Example
Source: https://github.com/jitpack/jitpack.io/blob/main/api/_index.en.md
Example JSON output for the GET /search?q=text endpoint, listing projects and their available releases.
```json
{
"com.github.jitpack:gradle-simple" : [ "1.0.4", "1.0.3" ],
"com.github.jitpack:maven-simple" : [ "1.0", "0.1" ],
"com.github.jitpack:android-example" : [ "1.0.5.rc1", "v1.0.4" ],
...
```
--------------------------------
### Builds Output Example
Source: https://github.com/jitpack/jitpack.io/blob/main/api/_index.en.md
Example JSON output for the GET /builds/:groupId/:artifactId endpoint, showing build statuses for different versions.
```json
{
"com.github.jitpack" : {
"maven-simple" : {
"1.1" : "ok",
"1.0" : "ok",
"0.5" : "Error",
"0.1" : "ok"
}
}
}
```
--------------------------------
### Get All Builds for a Project
Source: https://github.com/jitpack/jitpack.io/blob/main/api/_index.en.md
Retrieves all build outcomes for a given project. The example shows how to construct the URL for a specific GitHub project.
```bash
curl https://jitpack.io/api/builds/com.github.jitpack/maven-simple
```
--------------------------------
### Gradle Build Command
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
JitPack executes './gradlew install' for projects using the maven plugin.
```sh
./gradlew install
```
--------------------------------
### Gradle Settings with JitPack
Source: https://github.com/jitpack/jitpack.io/blob/main/README.md
Configure your Gradle settings to include JitPack as a repository and add a dependency. This example shows how to set up repositories and dependencies in settings.gradle.
```gradle
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.User:Repo:Version'
}
```
--------------------------------
### Verify DNS TXT Record for Custom Domain
Source: https://github.com/jitpack/jitpack.io/blob/main/README.md
Use this command-line example to verify that the DNS TXT record for your custom domain has been correctly added and is resolvable. This is a crucial step for enabling custom domain support on JitPack.
```bash
~$ dig txt git.jitpack.io
...
;; ANSWER SECTION:
git.jitpack.io. 600 IN TXT "https://github.com/jitpack"
```
--------------------------------
### Get Download Statistics
Source: https://github.com/jitpack/jitpack.io/blob/main/api/_index.en.md
Example curl command to fetch download statistics for a specific project. The URL includes the groupId and artifactId.
```bash
curl https://jitpack.io/api/downloads/com.github.jitpack/gradle-modular
```
--------------------------------
### Maven Wrapper Build Command
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
If your project uses the Maven Wrapper, JitPack will execute './mvnw install -DskipTests'.
```sh
./mvnw install -DskipTests
```
--------------------------------
### Maven Build Command
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
JitPack uses 'mvn install -DskipTests' to build and publish Maven projects.
```sh
mvn install -DskipTests
```
--------------------------------
### Gradle Project Setup with JitPack
Source: https://github.com/jitpack/jitpack.io/blob/main/intro/_index.en.md
Configure your Gradle project to use JitPack by adding its repository and specifying the dependency. It's recommended to filter repositories for security and performance.
```gradle
allprojects {
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
}
dependencies {
implementation 'com.github.User:Repo:Version'
}
```
--------------------------------
### Gradle Settings Configuration
Source: https://github.com/jitpack/jitpack.io/blob/main/_index.en.md
Configure your Gradle settings to include JitPack as a repository and add a dependency. This example shows how to set up repositories and declare an implementation dependency.
```gradle
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.User:Repo:Version'
}
```
--------------------------------
### Custom Build Commands in jitpack.yml
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
Define custom build commands, including JDK version, pre-install scripts, and install commands, in a jitpack.yml file.
```yaml
jdk:
- openjdk9
before_install:
- ./custom_setup.sh
install:
- echo "Running a custom install command"
- ./gradlew clean install -xtest
env:
MYVAR: "custom environment variable"
```
--------------------------------
### Get the latest build by tag
Source: https://github.com/jitpack/jitpack.io/blob/main/api/_index.en.md
Retrieves the latest build for a project, with tags compared according to semantic versioning.
```APIDOC
## GET /builds/:groupId/:artifactId/latest
### Description
Get the latest build by tag. Tags are compared according to semantic versioning.
### Method
GET
### Endpoint
`/builds/:groupId/:artifactId/latest`
### Parameters
#### Path Parameters
- **groupId** (string) - Required - The group ID of the project.
- **artifactId** (string) - Required - The artifact ID of the project.
### Response
#### Success Response (200)
- The response contains information about the latest build.
```
--------------------------------
### Get the latest successful build
Source: https://github.com/jitpack/jitpack.io/blob/main/api/_index.en.md
Retrieves the latest build for a project that was successful.
```APIDOC
## GET /builds/:groupId/:artifactId/latestOk
### Description
Get the latest build that was successful.
### Method
GET
### Endpoint
`/builds/:groupId/:artifactId/latestOk`
### Parameters
#### Path Parameters
- **groupId** (string) - Required - The group ID of the project.
- **artifactId** (string) - Required - The artifact ID of the project.
### Response
#### Success Response (200)
- The response contains information about the latest successful build.
```
--------------------------------
### Gradle Maven Plugin Configuration
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
Enable the maven plugin in your Gradle build file to allow JitPack to install artifacts locally.
```gradle
apply plugin: 'maven'
group = 'com.github.YourUsername'
```
--------------------------------
### Get download statistics for a project
Source: https://github.com/jitpack/jitpack.io/blob/main/api/_index.en.md
Retrieves weekly and monthly download statistics for a given project.
```APIDOC
## GET /downloads/:groupId/:artifactId
### Description
See weekly and monthly download stats for a project.
### Method
GET
### Endpoint
`/downloads/:groupId/:artifactId`
### Parameters
#### Path Parameters
- **groupId** (string) - Required - The group ID of the project.
- **artifactId** (string) - Required - The artifact ID of the project.
### Response
#### Success Response (200)
- The response contains download statistics for the project.
```
--------------------------------
### Get all builds for a project
Source: https://github.com/jitpack/jitpack.io/blob/main/api/_index.en.md
Retrieves all build outcomes for a given project identified by its groupId and artifactId.
```APIDOC
## GET /builds/:groupId/:artifactId
### Description
Get all builds for a project and build outcomes.
### Method
GET
### Endpoint
`/builds/:groupId/:artifactId`
### Parameters
#### Path Parameters
- **groupId** (string) - Required - The group ID of the project.
- **artifactId** (string) - Required - The artifact ID of the project.
### Response
#### Success Response (200)
- The response contains a JSON object where keys are groupIds and values are objects mapping artifactIds to their versions and build statuses.
```
--------------------------------
### Checking DNS TXT Record for Custom Domain
Source: https://github.com/jitpack/jitpack.io/blob/main/_index.en.md
Use the `dig` command to verify that your DNS TXT record for a custom domain has been correctly added and is resolving. This example checks the record for `git.jitpack.io`.
```bash
~$ dig txt git.jitpack.io
...
;; ANSWER SECTION:
git.jitpack.io. 600 IN TXT "https://github.com/jitpack"
```
--------------------------------
### Get a single build
Source: https://github.com/jitpack/jitpack.io/blob/main/api/_index.en.md
Retrieves the outcome for a specific build of a project, identified by groupId, artifactId, and tag.
```APIDOC
## GET /builds/:groupId/:artifactId/:tag
### Description
Get a single build for a project and its outcome.
### Method
GET
### Endpoint
`/builds/:groupId/:artifactId/:tag`
### Parameters
#### Path Parameters
- **groupId** (string) - Required - The group ID of the project.
- **artifactId** (string) - Required - The artifact ID of the project.
- **tag** (string) - Required - The tag or version of the build.
### Response
#### Success Response (200)
- The response contains the outcome of the specified build.
```
--------------------------------
### Get download statistics for a specific version
Source: https://github.com/jitpack/jitpack.io/blob/main/api/_index.en.md
Retrieves download statistics for a specific version (tag) of a project.
```APIDOC
## GET /downloads/:groupId/:artifactId/:tag
### Description
Get download stats for individual versions.
### Method
GET
### Endpoint
`/downloads/:groupId/:artifactId/:tag`
### Parameters
#### Path Parameters
- **groupId** (string) - Required - The group ID of the project.
- **artifactId** (string) - Required - The artifact ID of the project.
- **tag** (string) - Required - The tag or version of the build.
### Response
#### Success Response (200)
- The response contains download statistics for the specified version.
```
--------------------------------
### API Authentication with Token
Source: https://github.com/jitpack/jitpack.io/blob/main/api/_index.en.md
Demonstrates how to authenticate API requests for private repositories using a personal access token. Replace TOKEN with your actual token.
```bash
curl -uTOKEN: https://jitpack.io/api/builds/:groupId/:artifactId/:tag
```
--------------------------------
### Sbt Build Command
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
The command JitPack runs to build Sbt projects.
```sh
sbt publishM2
```
--------------------------------
### Configure Repository in settings.gradle
Source: https://github.com/jitpack/jitpack.io/blob/main/android/_index.en.md
Instruct users to add the jitpack.io repository to their project's settings.gradle file to resolve dependencies hosted on JitPack. Ensure repositoriesMode is set to FAIL_ON_PROJECT_REPOS.
```gradle
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
```
--------------------------------
### JitPack Project Files URL
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
Browse the files of a specific project build using this URL format.
```text
https://jitpack.io/com/github/User/Repo/Tag/
```
--------------------------------
### Maven Private Repository Configuration
Source: https://github.com/jitpack/jitpack.io/blob/main/private/_index.en.md
Set up Maven to access JitPack's private repository by adding your authentication token to the $HOME/.m2/settings.xml file. Ensure the server ID matches the one used in your pom.xml.
```xml
jitpack.io
AUTHENTICATION_TOKEN
.
```
--------------------------------
### Leiningen Build Command
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
The command JitPack runs to build Leiningen projects.
```sh
lein do clean, install
```
--------------------------------
### Add Library Dependency
Source: https://github.com/jitpack/jitpack.io/blob/main/android/_index.en.md
Show users how to add your published library as a dependency in their app/build.gradle file, specifying the correct group, artifact, and version.
```gradle
dependencies {
implementation 'com.github.jitpack:android-example:1.0.1'
}
```
--------------------------------
### Gradle Maven Publish Plugin Build Command
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
For projects using the maven-publish plugin, JitPack runs './gradlew build publishToMavenLocal'.
```sh
./gradlew build publishToMavenLocal
```
--------------------------------
### Display Monthly Download Statistics Badge
Source: https://github.com/jitpack/jitpack.io/blob/main/README.md
Add this Markdown to your README.md to display a badge showing the monthly download statistics for your project on JitPack. Ensure USER and REPO are updated to match your project.
```markdown

```
--------------------------------
### Add JitPack Maven Repository and Dependency
Source: https://github.com/jitpack/jitpack.io/blob/main/_index.en.md
Include this Gradle configuration in your project to fetch dependencies from JitPack.io. Ensure your project has access to mavenCentral() as well.
```gradle
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
implementation 'com.github.jitpack:gradle-simple:1.0'
}
```
--------------------------------
### Publish Library to Maven Local
Source: https://github.com/jitpack/jitpack.io/blob/main/android/_index.en.md
Execute Gradle tasks to publish your library to the local Maven repository for testing. Use 'publishToMavenLocal' or 'publishReleasePublicationToMavenLocal' depending on your publication name.
```bash
./gradlew publishToMavenLocal
// or if you named your publication "release"
./gradlew publishReleasePublicationToMavenLocal
```
--------------------------------
### Display Weekly Download Statistics Badge
Source: https://github.com/jitpack/jitpack.io/blob/main/README.md
Integrate this Markdown into your README.md to show a badge displaying the weekly download statistics for your project on JitPack. This requires the USER and REPO to be replaced with your project's details.
```markdown

```
--------------------------------
### Use SDKMAN for Java Version in jitpack.yml
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
Configure specific Java versions using SDKMAN within the 'before_install' section of jitpack.yml.
```yaml
before_install:
- sdk install java 22-open
- sdk use java 22-open
```
--------------------------------
### Add JitPack Repository to Leiningen
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
Configure your Leiningen project to use the JitPack repository by adding this to your project.clj file.
```clojure
:repositories [["jitpack" "https://jitpack.io"]]
```
--------------------------------
### Displaying Release Status Badge
Source: https://github.com/jitpack/jitpack.io/blob/main/_index.en.md
Add this Markdown to your README.md to display a status badge for the latest release. It links to the JitPack page for the specified user and repository.
```markdown
[]
(https://jitpack.io/#User/Repo)
```
--------------------------------
### Gradle Private Repository Configuration
Source: https://github.com/jitpack/jitpack.io/blob/main/private/_index.en.md
Configure Gradle to use JitPack's private Maven repository by adding your authentication token. This is typically done in the $HOME/.gradle/gradle.properties file and referenced in the build.gradle file.
```gradle
repositories {
maven {
url "https://jitpack.io"
credentials { username authToken }
}
}
```
--------------------------------
### SBT Private Repository Credentials
Source: https://github.com/jitpack/jitpack.io/blob/main/private/_index.en.md
Configure SBT to use JitPack's private repository by creating a .credentials file in $HOME/.sbt/ and adding the authentication token. The realm must be 'JitPack'.
```properties
realm=JitPack
host=jitpack.io
user=AUTHENTICATION_TOKEN
password=.
```
--------------------------------
### Gradle Dependency for All Modules
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
This syntax allows you to include all modules of a project as dependencies in Gradle.
```gradle
implementation 'com.github.User:Repo:Tag'
```
--------------------------------
### Displaying Download Statistics Badges
Source: https://github.com/jitpack/jitpack.io/blob/main/_index.en.md
Embed these Markdown snippets in your README.md to show weekly or monthly download statistics for your project on JitPack. Replace USER and REPO with your specific details.
```markdown

```
```markdown

```
--------------------------------
### SBT Private Repository Configuration
Source: https://github.com/jitpack/jitpack.io/blob/main/private/_index.en.md
Add the credentials file path to your build.sbt to enable SBT to use JitPack's private repository.
```scala
credentials += Credentials(Path.userHome / ".sbt" / ".credentials")
```
--------------------------------
### Gradle Dependency for Multi-Module Project
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
Use this syntax to include an individual module from a multi-module Gradle project.
```gradle
implementation 'com.github.User.Repo:Module:Tag'
```
--------------------------------
### JitPack Build Log URL
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
Access the build log for a specific project version using this URL format.
```text
https://jitpack.io/com/github/User/Repo/Tag/build.log
```
--------------------------------
### Add JitPack Repository to Sbt
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
Configure your Sbt project to use the JitPack repository by adding this to your build.sbt file.
```sbt
resolvers += "jitpack" at "https://jitpack.io"
```
--------------------------------
### App Module Dependency on Library Module
Source: https://github.com/jitpack/jitpack.io/blob/main/android/_index.en.md
If your repository contains both a sample app and the library, configure the app's build.gradle to depend on the library module using 'project(':library')'.
```gradle
dependencies {
implementation project(':library')
}
```
--------------------------------
### Add Cross-Building Dependency to Sbt
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
Use the %% syntax for cross-building dependencies with your current Scala version in Sbt.
```sbt
libraryDependencies += "com.github.User" %% "Repo" % "Tag"
```
--------------------------------
### Leiningen Private Repository Configuration
Source: https://github.com/jitpack/jitpack.io/blob/main/private/_index.en.md
Configure Leiningen to use JitPack's private repository by adding the authentication token as the username in your project.clj file.
```clojure
:repositories [["jitpack" {:url "https://jitpack.io" :username "AUTHENTICATION_TOKEN" :password "."}]]
```
--------------------------------
### Displaying Release Status Badge with Custom Domain or BitBucket
Source: https://github.com/jitpack/jitpack.io/blob/main/_index.en.md
Use these Markdown snippets for release status badges when using a custom domain name or BitBucket as the Git host. Adjust the groupId accordingly.
```markdown
[]
(https://jitpack.io/#com.example/Repo)
```
```markdown
[]
(https://jitpack.io/#org.bitbucket.User/Repo)
```
--------------------------------
### Specify JDK Version in jitpack.yml
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
Set a specific OpenJDK version for your build using the 'jdk' key in jitpack.yml.
```yaml
jdk:
- openjdk9
```
--------------------------------
### Gradle Dependency for Private Repository
Source: https://github.com/jitpack/jitpack.io/blob/main/private/_index.en.md
Add the dependency for your private repository to your build.gradle file after setting up the repository and credentials.
```gradle
dependencies {
compile 'com.github.User:PrivateRepo:Tag'
}
```
--------------------------------
### Verify DNS TXT Record
Source: https://github.com/jitpack/jitpack.io/blob/main/private/_index.en.md
Use the 'dig' command to verify that a DNS TXT record has been correctly added for a custom domain. This is useful for confirming domain mapping for artifact group IDs.
```bash
> dig txt git.jitpack.io
...
;; ANSWER SECTION:
git.jitpack.io. 600 IN TXT "https://github.com/jitpack"
```
--------------------------------
### Configure Publishing for MavenPublication
Source: https://github.com/jitpack/jitpack.io/blob/main/android/_index.en.md
Configure the publishing block to define your library's Maven publication details, including group ID, artifact ID, and version. Ensure the publication is correctly linked to the component.
```gradle
publishing {
publications {
release(MavenPublication) {
groupId = 'io.jitpack'
artifactId = 'library'
version = '1.0'
afterEvaluate {
from components.release
}
}
}
}
```
--------------------------------
### Search for releases
Source: https://github.com/jitpack/jitpack.io/blob/main/api/_index.en.md
Searches for projects based on a query string, returning matching project names and their releases. Supports filtering by artifactId or groupId.
```APIDOC
## GET /search?q=text
### Description
Search for releases based on project name. This endpoint will find all projects that contain the given text in their name or groupId. Up to 50 results are returned by default and can be tweaked using `&limit=10` parameter.
### Method
GET
### Endpoint
`/search`
### Parameters
#### Query Parameters
- **q** (string) - Required - The search text. Can be a full project name, artifactId (prefixed with ':'), or groupId (suffixed with ':').
- **limit** (integer) - Optional - The maximum number of results to return.
### Response
#### Success Response (200)
- The response contains a JSON object where keys are project identifiers (e.g., "groupId:artifactId") and values are arrays of release versions.
```
--------------------------------
### Add JitPack Maven Repository
Source: https://github.com/jitpack/jitpack.io/blob/main/_index.en.md
Add the JitPack maven repository to your Gradle build configuration. It's recommended to add JitPack at the end of the repository list.
```gradle
maven { url "https://jitpack.io" }
```
--------------------------------
### JitPack Repository with Content Filtering
Source: https://github.com/jitpack/jitpack.io/blob/main/_index.en.md
Configure JitPack repository with content filtering to include specific groups or exclude others. This enhances security and performance by controlling which dependencies are resolved from which repositories.
```gradle
maven {
url "https://jitpack.io"
content { includeGroup "com.github.username" }
}
maven {
url "https://other repository"
content { excludeGroupByRegex "com\.github.username.*" }
}
```
--------------------------------
### Use Pull Request Snapshot Dependency
Source: https://github.com/jitpack/jitpack.io/blob/main/README.md
Specify a dependency on a specific Pull Request using the 'PR-SNAPSHOT' format. This allows you to test changes from open Pull Requests.
```gradle
// dependency for Pull Request 4
implementation 'com.github.jitpack:gradle-simple:PR4-SNAPSHOT'
```
--------------------------------
### Configure Gradle Cache for Changing Modules
Source: https://github.com/jitpack/jitpack.io/blob/main/_index.en.md
Configure Gradle to refresh changing modules immediately by setting the cache duration to 0 seconds. This ensures Gradle always picks up the freshest version of snapshot builds.
```gradle
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
```
--------------------------------
### Maven Javadoc Aggregation Configuration
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
Configure the maven-javadoc-plugin at the top level of a multi-module Maven build to aggregate javadocs.
```xml
maven-javadoc-plugin
false
true
aggregate
aggregate-jar
package
```
--------------------------------
### Add Maven Publish Plugin
Source: https://github.com/jitpack/jitpack.io/blob/main/android/_index.en.md
Include the maven-publish plugin in your Gradle build file to enable publishing capabilities.
```gradle
plugins {
id 'maven-publish'
}
```
--------------------------------
### Dependency on a Pull Request Snapshot
Source: https://github.com/jitpack/jitpack.io/blob/main/_index.en.md
Specify a dependency version using the 'PR-SNAPSHOT' format to build a specific pull request. This is useful for testing changes from pull requests before they are merged.
```gradle
// dependency for Pull Request 4
implementation 'com.github.jitpack:gradle-simple:PR4-SNAPSHOT'
```
--------------------------------
### Add Dependency to Sbt
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
Include a JitPack dependency in your Sbt project.
```sbt
libraryDependencies += "com.github.User" % "Repo" % "Tag"
```
--------------------------------
### Add Dependency to Leiningen
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
Include a JitPack dependency in your Leiningen project.
```clojure
:dependencies [[com.github.User/Repo "Tag"]]
```
--------------------------------
### Maven Dependency for Multi-Module Project
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
Use this XML format to include an individual module from a multi-module Maven project.
```xml
com.github.User.Repo
Module
Tag
```
--------------------------------
### JitPack Webhook URL
Source: https://github.com/jitpack/jitpack.io/blob/main/building/_index.en.md
The URL to configure for GitHub or Bitbucket webhooks to trigger builds on commits.
```text
https://jitpack.io/api/webhooks
```
--------------------------------
### Configure Gradle Timeouts for JitPack Builds
Source: https://github.com/jitpack/jitpack.io/blob/main/faq/_index.en.md
Increase HTTP connection and socket timeouts in your gradle.properties file to prevent 'Read timed out' errors when JitPack waits for a build to finish. Set both values to 180000 milliseconds (3 minutes).
```properties
systemProp.org.gradle.internal.http.connectionTimeout=180000
systemProp.org.gradle.internal.http.socketTimeout=180000
```
--------------------------------
### Displaying Release Status Badge with Flat-Square Style
Source: https://github.com/jitpack/jitpack.io/blob/main/_index.en.md
This Markdown snippet generates a release status badge using the 'flat-square' style. Append '?style=flat-square' to the SVG URL.
```markdown
https://jitpack.io/v/User/Repo.svg?style=flat-square
```
--------------------------------
### Use Master Branch Snapshot Dependency
Source: https://github.com/jitpack/jitpack.io/blob/main/README.md
Specify a dependency on the latest commit in the master branch using the '-SNAPSHOT' suffix. This is useful for development and testing.
```gradle
// dependency on the latest commit in the master branch
implementation 'com.github.jitpack:gradle-simple:master-SNAPSHOT'
```
--------------------------------
### Dependency on Master Branch Snapshot
Source: https://github.com/jitpack/jitpack.io/blob/main/_index.en.md
Include a dependency on the latest commit in the master branch using the 'master-SNAPSHOT' version. This allows you to use the most recent code from the master branch.
```gradle
// dependency on the latest commit in the master branch
implementation 'com.github.jitpack:gradle-simple:master-SNAPSHOT'
```
--------------------------------
### Delete a single build
Source: https://github.com/jitpack/jitpack.io/blob/main/api/_index.en.md
Deletes a specific build and its artifacts for a project. Requires authentication and push permissions. Only failed, snapshot, or recent tag builds can be deleted.
```APIDOC
## DELETE /builds/:groupId/:artifactId/:tag
### Description
To delete a build and its artifacts use this endpoint. You need to be authenticated when deleting a build and your user needs to have push permissions to the git repository. Note that you can only delete failed builds, snapshot builds or tag builds newer than 7 days. Older versions can't be deleted because there could be builds depending on those versions.
### Method
DELETE
### Endpoint
`/builds/:groupId/:artifactId/:tag`
### Parameters
#### Path Parameters
- **groupId** (string) - Required - The group ID of the project.
- **artifactId** (string) - Required - The artifact ID of the project.
- **tag** (string) - Required - The tag or version of the build to delete.
### Authentication
Requires basic authentication with your authentication token as the username.
```
=== COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.