I need to build an Android Project offline with gradle on a CI server with no Internet Connection.
I used the following to build the local cache and then transfer it to the CI server
gradle build -g ./gradle_libs
This creates a local cache of all the dependencies but Unfortunately i cannot use this on the CI Server as it uses the absolute path of the directory to get the location of artifacts.
Is there a way to build a gradle project completely offline? Please help.