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
And a default Gradle Java application [generated](https://docs.gradle.org/current/samples/sample_building_java_applications.html#run_the_init_task) with the init task.
❶ The `packages` section lists all Python packages optionally with [requirement specifiers](https://pip.pypa.io/en/stable/reference/requirement-specifiers/).
81
123
In this case, we install the `vaderSentiment` package and pin it to version `3.3.2`. Because we are not
82
-
specifying `<pythonResourcesDirectory>` the Maven plugin will embed the packages into the
124
+
specifying `<pythonResourcesDirectory>` the plugins will embed the packages into the
83
125
resulting JAR as a standard Java resource.
84
126
85
127
## 5. Determining and Pinning Transitive Dependencies
86
128
87
-
Package the application using Maven, this should install all the transitive dependencies
129
+
When you package the application, it installs all the transitive dependencies
88
130
in a newly created [virtual environment](https://docs.python.org/3/library/venv.html):
89
131
90
132
```shell
91
-
mvn package
133
+
./mvnw package
92
134
```
93
135
94
-
If the compilation is successful, one can run the following command to get
95
-
versions of all the installed Python packages:
136
+
```shell
137
+
./gradlew assemble
138
+
```
96
139
140
+
If the compilation is successful, one can run the following command to get versions of all the installed Python packages if you use Maven:
0 commit comments