@@ -15,19 +15,19 @@ Java 1.8 or above, with one of the following environments:
15
15
<dependency >
16
16
<groupId >io.minio</groupId >
17
17
<artifactId >minio</artifactId >
18
- <version >7.1.2 </version >
18
+ <version >7.1.3 </version >
19
19
</dependency >
20
20
```
21
21
22
22
## Download from gradle
23
23
``` xml
24
24
dependencies {
25
- compile 'io.minio:minio:7.1.2 '
25
+ compile 'io.minio:minio:7.1.3 '
26
26
}
27
27
```
28
28
29
29
## Download from JAR
30
- You can download the latest [ JAR] ( https://repo1.maven.org/maven2/io/minio/minio/7.1.2 / ) directly from maven.
30
+ You can download the latest [ JAR] ( https://repo1.maven.org/maven2/io/minio/minio/7.1.3 / ) directly from maven.
31
31
32
32
## Quick Start Example - File Uploader
33
33
This example program connects to an object storage server, makes a bucket on the server and then uploads a file to the bucket.
@@ -60,7 +60,7 @@ public class FileUploader {
60
60
MinioClient minioClient = new MinioClient (" https://play.min.io" , " Q3AM3UQ867SPQQA43P2F" , " zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG" );
61
61
62
62
// Check if the bucket already exists.
63
- boolean isExist =
63
+ boolean isExist =
64
64
minioClient. bucketExists(BucketExistsArgs . builder(). bucket(" asiatrip" ). build());
65
65
if (isExist) {
66
66
System . out. println(" Bucket already exists." );
@@ -81,12 +81,12 @@ public class FileUploader {
81
81
82
82
#### Compile FileUploader
83
83
``` sh
84
- javac -cp " minio-7.1.2 -all.jar" FileUploader.java
84
+ javac -cp " minio-7.1.3 -all.jar" FileUploader.java
85
85
```
86
86
87
87
#### Run FileUploader
88
88
``` sh
89
- java -cp " minio-7.1.2 -all.jar:." FileUploader
89
+ java -cp " minio-7.1.3 -all.jar:." FileUploader
90
90
/home/user/Photos/asiaphotos.zip is successfully uploaded as asiaphotos.zip to ` asiatrip` bucket.
91
91
92
92
mc ls play/asiatrip/
0 commit comments