📥 Download Artifacts from any Git Repository
Gitle is a gradle plugin that allows you to download artifacts from any git repository. It is useful when you want to download artifacts from a repository that can't be accessed via Maven.
Gitle supports all Git repositories that are accessible via HTTPS or SSH.
Note
Project dependencies must be built using Maven or Gradle.
If you are using gradle, make sure you set up the maven-publish
plugin to publish the artifacts to maven local.
Simply use the import
function to download the artifact from the repository. It will then automatically clone the
repository and add its artifacts to your maven local repository.
import xyz.gmitch215.gitle.import
import xyz.gmitch215.gitle.github
plugins {
id("xyz.gmitch215.gitle") version "0.1.0"
}
dependencies {
import("https://github.com/example/repo.git")
import(github("OtherUser", "OtherRepository"))
implementation("com.example:artifact:1.0.0")
}
See the wiki for more information.
Dokka documentation is available here, or on the URL associated with this repository.
If you have any ideas for improvements or new features, feel free to open an issue or a pull request. All details are in the CONTRIBUTING.md file.
This project is licensed under the MIT License - see the LICENSE file for details.