File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
examples/disconnected-project-using-plugins-and-gradlew Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -95,4 +95,21 @@ task downloadToProjectMavenRepo(type: Copy) {
9595 configurations.compile.files
9696 configurations.runtime.files
9797 ...
98+ ```
99+
100+ ## Use own gradle instance (rather than gradlew)
101+
102+ If you want to install gradle instead of bundling gradle wrapper (gradlew) with the offline.zip, you can do that too using the following steps
103+
104+ 1 . Remove build directory (to ensure that no gradlew zip exists in the build dir)
105+
106+ 2 . Create deployer zip
107+ ```
108+ gradle -Dgradle.user.home=build/gradle-home makeOfflineZip
109+ ```
110+ 3 . Copy zip (build/distributions/offline.zip) to desired location / server and unzip
111+
112+ 4 . Run disconnected tasks from unzip location
113+ ```
114+ gradle mlDeploy -Pdisconnected=true
98115```
You can’t perform that action at this time.
0 commit comments