- Removed version from Build output
- Changed IP of Remote Server
This commit is contained in:
parent
6a80a92f82
commit
329a462fca
@ -5,7 +5,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group = 'de.thehomecraft'
|
group = 'de.thehomecraft'
|
||||||
version = '1.0-SNAPSHOT'
|
version = ''
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|||||||
@ -16,7 +16,7 @@ import java.util.Objects;
|
|||||||
public class S3Uploader {
|
public class S3Uploader {
|
||||||
public void uploadDirectory(File baseDir, File currentDir) throws Exception {
|
public void uploadDirectory(File baseDir, File currentDir) throws Exception {
|
||||||
MinioClient client = MinioClient.builder()
|
MinioClient client = MinioClient.builder()
|
||||||
.endpoint("http://192.168.178.24:9000")
|
.endpoint("http://85.214.239.211:9004")
|
||||||
.credentials(new CredProvid().s3AccessKey, new CredProvid().s3SecretKey)
|
.credentials(new CredProvid().s3AccessKey, new CredProvid().s3SecretKey)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
@ -45,7 +45,7 @@ public class S3Uploader {
|
|||||||
public void deleteRemoteDirectory(String repoName) throws Exception {
|
public void deleteRemoteDirectory(String repoName) throws Exception {
|
||||||
String bucketName = "repofiles";
|
String bucketName = "repofiles";
|
||||||
MinioClient client = MinioClient.builder()
|
MinioClient client = MinioClient.builder()
|
||||||
.endpoint("http://192.168.178.24:9000")
|
.endpoint("http://85.214.239.211:9004")
|
||||||
.credentials(new CredProvid().s3AccessKey, new CredProvid().s3SecretKey)
|
.credentials(new CredProvid().s3AccessKey, new CredProvid().s3SecretKey)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,7 @@ public class SendSocketMessage {
|
|||||||
public void send(String text, String endpoint){
|
public void send(String text, String endpoint){
|
||||||
URI serverUri;
|
URI serverUri;
|
||||||
try {
|
try {
|
||||||
serverUri = new URI("ws://192.168.178.24:7000/repo/"+endpoint);
|
serverUri = new URI("ws://85.214.239.211:7000/repo/"+endpoint);
|
||||||
} catch (URISyntaxException e) {
|
} catch (URISyntaxException e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user