Skip to content

Instantly share code, notes, and snippets.

@kadin2048
kadin2048 / m2cache.py
Last active July 6, 2016 20:39 — forked from morrelinko/m2cache.py
Copy gradle store of libraries into .m2 local cache
import os
import shutil
gradle_cache_dir = '/Users/myusername/.gradle/caches/modules-2/files-2.1/'
maven_cache_dir = '/Users/myusername/.m2/repository/'
"""
Copy dependencies from the Gradle cache to the M2 cache
"""
packages = {}