When I’m trying to build a project with “–offline” key. Before that, I made an online build, then made a copy of “~/.gradle” directory and tried to restore gradle’s cache by copying this directory. But build fails with errors like that one:
gradle --offline clean build
Could not download coveralls-gradle-plugin.jar (org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.2): No cached version available for offline mode
could you tell me how to build offline with gradle (any version)?