Skip to content

Instantly share code, notes, and snippets.

View leolopez89's full-sized avatar

Leonardo Lopez leolopez89

View GitHub Profile
@leolopez89
leolopez89 / gradle2maven.sh
Last active July 13, 2022 14:54
How to convert a gradle repository into a maven repository
#!/bin/bash
#
# Usage:
#
# bash gradle2maven.sh
# Will be used as default directories
# your default gradle reprository: $HOME/.gradle/caches/modules-2/files-2.1/
# in your current path, a new maven directory: $PWD/maven-XXXXX`/repository
#
# bash gradle2maven.sh <gradle-files2.1-path>