You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "eastack (via GitHub)" <gi...@apache.org> on 2023/09/22 02:58:49 UTC

[GitHub] [incubator-opendal] eastack opened a new pull request, #3158: docs(bindings/java): Added an example of adding dependencies using Gr…

eastack opened a new pull request, #3158:
URL: https://github.com/apache/incubator-opendal/pull/3158

   (no comment)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] tisonkun merged pull request #3158: docs(bindings/java): Added an example of adding dependencies using Gradle

Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun merged PR #3158:
URL: https://github.com/apache/incubator-opendal/pull/3158


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] tisonkun commented on a diff in pull request #3158: docs(bindings/java): Added an example of adding dependencies using Gradle

Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun commented on code in PR #3158:
URL: https://github.com/apache/incubator-opendal/pull/3158#discussion_r1333829860


##########
bindings/java/README.md:
##########
@@ -39,6 +41,29 @@ Then add the dependency to `opendal-java` as following:
 </dependency>
 ```
 
+### Gradle
+
+For Gradle you can first add the `com.google.osdetector` for automatically detect the classifier based on your platform:
+
+```groovy
+plugins {
+    ...
+    id "com.google.osdetector" version "1.7.3"
+}
+
+```
+
+Then add the dependency to `opendal-java` as following:
+
+```groovy
+dependencies {
+    ...
+    // OpenDAL
+    implementation "org.apache.opendal:opendal-java:0.40.0"
+    implementation "org.apache.opendal:opendal-java:0.40.0:$osdetector.classifier"
+}
+```
+

Review Comment:
   ```suggestion
   
   ### Classified library
   ```
   
   This section is shared. We can highlight it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org