https://github.com/gmitch215/gitle
📥 Download Artifacts from any Git Repository
https://github.com/gmitch215/gitle
git github gitlab gradle gradle-plugin kotlin ssh
Last synced: 2 months ago
JSON representation
📥 Download Artifacts from any Git Repository
- Host: GitHub
- URL: https://github.com/gmitch215/gitle
- Owner: gmitch215
- License: mit
- Created: 2024-12-09T20:38:26.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-05-06T16:41:49.000Z (about 1 year ago)
- Last Synced: 2025-05-06T17:46:07.765Z (about 1 year ago)
- Topics: git, github, gitlab, gradle, gradle-plugin, kotlin, ssh
- Language: Kotlin
- Homepage: https://gmitch215.github.io/gitle/
- Size: 419 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# gitle
> 📥 Download Maven & Gradle 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.
## Usage
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.
```kotlin
import xyz.gmitch215.gitle.import
import xyz.gmitch215.gitle.github
plugins {
id("xyz.gmitch215.gitle") version "[VERSION]"
}
dependencies {
import("https://github.com/example/repo.git")
import(github("OtherUser", "OtherRepository"))
import(gitlab("Company/PrivateRepo/Project"), token = "super-secret-token")
implementation("com.example:artifact:1.0.0")
}
```
See the [wiki](https://github.com/gmitch215/gitle/wiki) for more information.
## Documentation
Dokka documentation is available [here](https://gmitch215.github.io/gitle/), or on the URL associated with this repository.
## Contributing
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](./CONTRIBUTING.md) file.
## License
This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.