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
Copy file name to clipboardExpand all lines: graalpy/graalpy-javase-guide/README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,23 +60,23 @@ Add the required dependencies for GraalPy in the `<dependencies>` section of the
60
60
<dependency>
61
61
<groupId>org.graalvm.polyglot</groupId>
62
62
<artifactId>python</artifactId> <!-- ① -->
63
-
<version>24.1.2</version>
63
+
<version>24.2.0</version>
64
64
<type>pom</type> <!-- ② -->
65
65
</dependency>
66
66
67
67
<dependency>
68
68
<groupId>org.graalvm.python</groupId>
69
69
<artifactId>python-embedding</artifactId> <!-- ③ -->
70
-
<version>24.1.2</version>
70
+
<version>24.2.0</version>
71
71
</dependency>
72
72
</dependencies>
73
73
```
74
74
75
75
`build.gradle.kts`
76
76
```kotlin
77
77
dependencies {
78
-
implementation("org.graalvm.python:python:24.1.2") // ①
79
-
implementation("org.graalvm.python:python-embedding:24.1.2") // ③
78
+
implementation("org.graalvm.python:python:24.2.0") // ①
79
+
implementation("org.graalvm.python:python-embedding:24.2.0") // ③
80
80
}
81
81
```
82
82
@@ -99,7 +99,7 @@ You can use the GraalPy plugins for Maven or Gradle to manage Python packages fo
99
99
<plugin>
100
100
<groupId>org.graalvm.python</groupId>
101
101
<artifactId>graalpy-maven-plugin</artifactId>
102
-
<version>24.1.2</version>
102
+
<version>24.2.0</version>
103
103
<executions>
104
104
<execution>
105
105
<configuration>
@@ -131,7 +131,7 @@ You can use the GraalPy plugins for Maven or Gradle to manage Python packages fo
131
131
```kotlin
132
132
plugins {
133
133
application
134
-
id("org.graalvm.python") version "24.1.2"
134
+
id("org.graalvm.python") version "24.2.0"
135
135
}
136
136
137
137
graalPy {
@@ -154,7 +154,7 @@ We disable this by specifying that we want to exclude all standard library files
154
154
Omit this section if you want to include the Python packages into the Java resources (and, for example, ship them in the Jar).
155
155
[Later in the Java code](#external-or-embedded-python-code-java) we can configure the GraalPy runtime to load the package from the filesystem or from resources.
156
156
157
-
**Note** that due to a bug in the 24.1.2 version of the `org.graalvm.python` plugin for **Gradle** you need to include a resource.
157
+
**Note** that due to a bug in the 24.2.0 version of the `org.graalvm.python` plugin for **Gradle** you need to include a resource.
158
158
A simple workaround is to add a `src/main/resources/META-INF/MANIFEST.MF`:
0 commit comments