You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Note that the action will override the existing lock file.*
174
173
175
-
For more information on managing Python packages, please refer to the descriptions of
176
-
the `graalPyLockFile` and `packages` fields in the [plugin configuration](#maven-plugin-configuration), as well as the [Python Dependency Management](#python-dependency-management) section
177
-
above in this document.
174
+
For a high level description of this feature, please refer to the
175
+
[Python Dependency Management for Reproducible Builds](#pythop-dependency-management-for-reproducible-builds) section
176
+
in this document.
177
+
178
+
* The **graalPyLockFile** element can change the default path to the GraalPy lock file. Default value is `${basedir}/graalpy.lock`.
179
+
The **graalPyLockFile** element by itself will not trigger the locking. The locking must be done by explicitly executing the
@@ -202,15 +211,6 @@ The plugin can be configured in the `graalPy` block:
202
211
...
203
212
}
204
213
```
205
-
206
-
- The **graalPyLockFile** element can specify an alternative path to a GraalPy lock file.
207
-
Default value is `$rootDir/graalpy.lock`.
208
-
```bash
209
-
graalPy {
210
-
graalPyLockFile = file("$rootDir/graalpy.lock")
211
-
...
212
-
}
213
-
```
214
214
215
215
- The **resourceDirectory** element can specify the relative [Java resource path](#java-resource-path).
216
216
Remember to use `VirtualFileSystem$Builder#resourceDirectory` when configuring the `VirtualFileSystem` in Java.
@@ -241,10 +241,19 @@ gradle graalPyLockPackages
241
241
```
242
242
*Note that the action will override the existing lock file.*
243
243
244
-
For more information on managing Python packages, please refer to the descriptions of
245
-
the `graalPyLockFile` and `packages` fields in the [plugin configuration](#gradle-plugin-configuration), as well as the [Python Dependency Management](#python-dependency-management) sections
244
+
For a high level description of this feature, please refer to the
245
+
[Python Dependency Management for Reproducible Builds](#pythop-dependency-management-for-reproducible-builds) section
246
246
in this document.
247
247
248
+
* The **graalPyLockFile** element can change the default path to the GraalPy lock file. Default value is `${basedir}/graalpy.lock`.
249
+
The **graalPyLockFile** element by itself will not trigger the locking. The locking must be done by explicitly executing the
250
+
`graalPyLockPackages` task.
251
+
```
252
+
graalPy {
253
+
graalPyLockFile = file("$rootDir/graalpy.lock")
254
+
...
255
+
}
256
+
248
257
## Related Documentation
249
258
250
259
* [Embedding Graal languages in Java](https://www.graalvm.org/reference-manual/embed-languages/)
0 commit comments