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 @@ -98,3 +98,20 @@ task downloadToProjectMavenRepo(type: Copy) {
9898 configurations.runtime.files
9999 ...
100100```
101+
102+ ## Use own gradle instance (rather than gradlew)
103+
104+ 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
105+
106+ 1 . Remove build directory (to ensure that no gradlew zip exists in the build dir)
107+
108+ 2 . Create deployer zip
109+ ```
110+ gradle -Dgradle.user.home=build/gradle-home makeOfflineZip
111+ ```
112+ 3 . Copy zip (build/distributions/offline.zip) to desired location / server and unzip
113+
114+ 4 . Run disconnected tasks from unzip location
115+ ```
116+ gradle mlDeploy -Pdisconnected=true
117+ ```
You can’t perform that action at this time.
0 commit comments