diff --git a/README.md b/README.md
index bd8f816..6b02119 100644
--- a/README.md
+++ b/README.md
@@ -15,11 +15,11 @@ An Unofficial Java library for translating text using Azure AI Cognitive Service
The following example translates a simple Hello World to French.
```java
-import tech.brenoepic.at4j.AzureApi;
-import tech.brenoepic.at4j.AzureApiBuilder;
-import tech.brenoepic.at4j.azure.BaseURL;
-import tech.brenoepic.at4j.data.request.TranslateParams;
-import tech.brenoepic.at4j.data.response.TranslationResponse;
+import com.github.brenoepics.at4j.AzureApi;
+import com.github.brenoepics.at4j.AzureApiBuilder;
+import com.github.brenoepics.at4j.azure.BaseURL;
+import com.github.brenoepics.at4j.data.request.TranslateParams;
+import com.github.brenoepics.at4j.data.response.TranslationResponse;
public class Main {
@@ -62,7 +62,7 @@ The recommended way to get AT4J is to use a build manager, like Gradle or Maven.
```gradle
repositories { mavenCentral() }
-dependencies { implementation 'tech.brenoepic:at4j:0.0.1' }
+dependencies { implementation 'com.github.brenoepics:at4j:0.0.1' }
```
#### Maven
@@ -71,7 +71,7 @@ Add the following dependency to your `pom.xml`:
```xml
- tech.brenoepic
+ com.github.brenoepics
at4j
0.0.1
diff --git a/pom.xml b/pom.xml
index 0894804..9fdcce7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- tech.brenoepic
+ com.github.brenoepics
at4j
0.0.1
Azure Translator For Java
@@ -74,7 +74,7 @@
true
- tech.brenoepic.at4j.AT4J
+ com.github.brenoepics.at4j.AT4J
diff --git a/src/main/java/tech/brenoepic/at4j/AT4J.java b/src/main/java/com/github/brenoepics/at4j/AT4J.java
similarity index 98%
rename from src/main/java/tech/brenoepic/at4j/AT4J.java
rename to src/main/java/com/github/brenoepics/at4j/AT4J.java
index d348bb8..54ff9c8 100644
--- a/src/main/java/tech/brenoepic/at4j/AT4J.java
+++ b/src/main/java/com/github/brenoepics/at4j/AT4J.java
@@ -1,4 +1,4 @@
-package tech.brenoepic.at4j;
+package com.github.brenoepics.at4j;
import java.io.IOException;
import java.io.InputStream;
diff --git a/src/main/java/tech/brenoepic/at4j/AzureApi.java b/src/main/java/com/github/brenoepics/at4j/AzureApi.java
similarity index 83%
rename from src/main/java/tech/brenoepic/at4j/AzureApi.java
rename to src/main/java/com/github/brenoepics/at4j/AzureApi.java
index 1b5e0aa..2456d6f 100644
--- a/src/main/java/tech/brenoepic/at4j/AzureApi.java
+++ b/src/main/java/com/github/brenoepics/at4j/AzureApi.java
@@ -1,16 +1,17 @@
-package tech.brenoepic.at4j;
+package com.github.brenoepics.at4j;
import java.util.Collection;
import java.util.Optional;
import java.util.concurrent.CompletableFuture;
-import tech.brenoepic.at4j.azure.BaseURL;
-import tech.brenoepic.at4j.azure.lang.Language;
-import tech.brenoepic.at4j.core.thread.ThreadPool;
-import tech.brenoepic.at4j.data.DetectedLanguage;
-import tech.brenoepic.at4j.data.request.AvailableLanguagesParams;
-import tech.brenoepic.at4j.data.request.DetectLanguageParams;
-import tech.brenoepic.at4j.data.request.TranslateParams;
-import tech.brenoepic.at4j.data.response.TranslationResponse;
+
+import com.github.brenoepics.at4j.azure.BaseURL;
+import com.github.brenoepics.at4j.data.DetectedLanguage;
+import com.github.brenoepics.at4j.azure.lang.Language;
+import com.github.brenoepics.at4j.core.thread.ThreadPool;
+import com.github.brenoepics.at4j.data.request.AvailableLanguagesParams;
+import com.github.brenoepics.at4j.data.request.DetectLanguageParams;
+import com.github.brenoepics.at4j.data.request.TranslateParams;
+import com.github.brenoepics.at4j.data.response.TranslationResponse;
/**
* This class is the most important class of AT4J, as it contains the main methods for translating
diff --git a/src/main/java/tech/brenoepic/at4j/AzureApiBuilder.java b/src/main/java/com/github/brenoepics/at4j/AzureApiBuilder.java
similarity index 95%
rename from src/main/java/tech/brenoepic/at4j/AzureApiBuilder.java
rename to src/main/java/com/github/brenoepics/at4j/AzureApiBuilder.java
index da786e4..b90c84c 100644
--- a/src/main/java/tech/brenoepic/at4j/AzureApiBuilder.java
+++ b/src/main/java/com/github/brenoepics/at4j/AzureApiBuilder.java
@@ -1,8 +1,8 @@
-package tech.brenoepic.at4j;
+package com.github.brenoepics.at4j;
+import com.github.brenoepics.at4j.azure.BaseURL;
+import com.github.brenoepics.at4j.core.AzureApiImpl;
import okhttp3.OkHttpClient;
-import tech.brenoepic.at4j.azure.BaseURL;
-import tech.brenoepic.at4j.core.AzureApiImpl;
/**
* Builder class for constructing instances of AzureApi.
diff --git a/src/main/java/tech/brenoepic/at4j/azure/BaseURL.java b/src/main/java/com/github/brenoepics/at4j/azure/BaseURL.java
similarity index 96%
rename from src/main/java/tech/brenoepic/at4j/azure/BaseURL.java
rename to src/main/java/com/github/brenoepics/at4j/azure/BaseURL.java
index 665b34f..b2f3d52 100644
--- a/src/main/java/tech/brenoepic/at4j/azure/BaseURL.java
+++ b/src/main/java/com/github/brenoepics/at4j/azure/BaseURL.java
@@ -1,4 +1,4 @@
-package tech.brenoepic.at4j.azure;
+package com.github.brenoepics.at4j.azure;
/**
* The base URL of the Azure Translator API. The list of available domains can be found scope = List.of(LanguageScope.TRANSLATION);
diff --git a/src/main/java/tech/brenoepic/at4j/data/request/DetectLanguageParams.java b/src/main/java/com/github/brenoepics/at4j/data/request/DetectLanguageParams.java
similarity index 92%
rename from src/main/java/tech/brenoepic/at4j/data/request/DetectLanguageParams.java
rename to src/main/java/com/github/brenoepics/at4j/data/request/DetectLanguageParams.java
index 6c4cf8f..2ae2bdb 100644
--- a/src/main/java/tech/brenoepic/at4j/data/request/DetectLanguageParams.java
+++ b/src/main/java/com/github/brenoepics/at4j/data/request/DetectLanguageParams.java
@@ -1,4 +1,4 @@
-package tech.brenoepic.at4j.data.request;
+package com.github.brenoepics.at4j.data.request;
import com.fasterxml.jackson.databind.node.ArrayNode;
import com.fasterxml.jackson.databind.node.JsonNodeFactory;
diff --git a/src/main/java/tech/brenoepic/at4j/data/request/TranslateParams.java b/src/main/java/com/github/brenoepics/at4j/data/request/TranslateParams.java
similarity index 95%
rename from src/main/java/tech/brenoepic/at4j/data/request/TranslateParams.java
rename to src/main/java/com/github/brenoepics/at4j/data/request/TranslateParams.java
index bb43e5b..3ae3b8b 100644
--- a/src/main/java/tech/brenoepic/at4j/data/request/TranslateParams.java
+++ b/src/main/java/com/github/brenoepics/at4j/data/request/TranslateParams.java
@@ -1,4 +1,4 @@
-package tech.brenoepic.at4j.data.request;
+package com.github.brenoepics.at4j.data.request;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.ArrayNode;
@@ -6,10 +6,11 @@
import com.fasterxml.jackson.databind.node.ObjectNode;
import java.util.*;
import java.util.stream.Collectors;
-import tech.brenoepic.at4j.azure.lang.Language;
-import tech.brenoepic.at4j.data.request.optional.ProfanityAction;
-import tech.brenoepic.at4j.data.request.optional.ProfanityMarker;
-import tech.brenoepic.at4j.data.request.optional.TextType;
+
+import com.github.brenoepics.at4j.azure.lang.Language;
+import com.github.brenoepics.at4j.data.request.optional.ProfanityAction;
+import com.github.brenoepics.at4j.data.request.optional.ProfanityMarker;
+import com.github.brenoepics.at4j.data.request.optional.TextType;
public class TranslateParams {
private String text;
diff --git a/src/main/java/tech/brenoepic/at4j/data/request/optional/LanguageScope.java b/src/main/java/com/github/brenoepics/at4j/data/request/optional/LanguageScope.java
similarity index 90%
rename from src/main/java/tech/brenoepic/at4j/data/request/optional/LanguageScope.java
rename to src/main/java/com/github/brenoepics/at4j/data/request/optional/LanguageScope.java
index 61a793a..01c8edd 100644
--- a/src/main/java/tech/brenoepic/at4j/data/request/optional/LanguageScope.java
+++ b/src/main/java/com/github/brenoepics/at4j/data/request/optional/LanguageScope.java
@@ -1,4 +1,4 @@
-package tech.brenoepic.at4j.data.request.optional;
+package com.github.brenoepics.at4j.data.request.optional;
/**
* A comma-separated list of names defining the group of languages to return.
diff --git a/src/main/java/tech/brenoepic/at4j/data/request/optional/ProfanityAction.java b/src/main/java/com/github/brenoepics/at4j/data/request/optional/ProfanityAction.java
similarity index 90%
rename from src/main/java/tech/brenoepic/at4j/data/request/optional/ProfanityAction.java
rename to src/main/java/com/github/brenoepics/at4j/data/request/optional/ProfanityAction.java
index c02514a..9722926 100644
--- a/src/main/java/tech/brenoepic/at4j/data/request/optional/ProfanityAction.java
+++ b/src/main/java/com/github/brenoepics/at4j/data/request/optional/ProfanityAction.java
@@ -1,4 +1,4 @@
-package tech.brenoepic.at4j.data.request.optional;
+package com.github.brenoepics.at4j.data.request.optional;
/**
* Specifies how profanities should be treated in translations.
diff --git a/src/main/java/tech/brenoepic/at4j/data/request/optional/ProfanityMarker.java b/src/main/java/com/github/brenoepics/at4j/data/request/optional/ProfanityMarker.java
similarity index 90%
rename from src/main/java/tech/brenoepic/at4j/data/request/optional/ProfanityMarker.java
rename to src/main/java/com/github/brenoepics/at4j/data/request/optional/ProfanityMarker.java
index 527fe4c..5e4dc81 100644
--- a/src/main/java/tech/brenoepic/at4j/data/request/optional/ProfanityMarker.java
+++ b/src/main/java/com/github/brenoepics/at4j/data/request/optional/ProfanityMarker.java
@@ -1,4 +1,4 @@
-package tech.brenoepic.at4j.data.request.optional;
+package com.github.brenoepics.at4j.data.request.optional;
/**
* Specifies how profanities should be marked in translations. Possible values are: Asterisk
diff --git a/src/main/java/tech/brenoepic/at4j/data/request/optional/TextType.java b/src/main/java/com/github/brenoepics/at4j/data/request/optional/TextType.java
similarity index 87%
rename from src/main/java/tech/brenoepic/at4j/data/request/optional/TextType.java
rename to src/main/java/com/github/brenoepics/at4j/data/request/optional/TextType.java
index 4b15a68..555410e 100644
--- a/src/main/java/tech/brenoepic/at4j/data/request/optional/TextType.java
+++ b/src/main/java/com/github/brenoepics/at4j/data/request/optional/TextType.java
@@ -1,4 +1,4 @@
-package tech.brenoepic.at4j.data.request.optional;
+package com.github.brenoepics.at4j.data.request.optional;
/**
* Defines whether the text being translated is plain text or HTML text. Any HTML needs to be a
diff --git a/src/main/java/tech/brenoepic/at4j/data/response/TranslationResponse.java b/src/main/java/com/github/brenoepics/at4j/data/response/TranslationResponse.java
similarity index 84%
rename from src/main/java/tech/brenoepic/at4j/data/response/TranslationResponse.java
rename to src/main/java/com/github/brenoepics/at4j/data/response/TranslationResponse.java
index 18361af..4dba85d 100644
--- a/src/main/java/tech/brenoepic/at4j/data/response/TranslationResponse.java
+++ b/src/main/java/com/github/brenoepics/at4j/data/response/TranslationResponse.java
@@ -1,9 +1,10 @@
-package tech.brenoepic.at4j.data.response;
+package com.github.brenoepics.at4j.data.response;
import java.util.Collection;
import javax.annotation.Nullable;
-import tech.brenoepic.at4j.data.DetectedLanguage;
-import tech.brenoepic.at4j.data.Translation;
+
+import com.github.brenoepics.at4j.data.DetectedLanguage;
+import com.github.brenoepics.at4j.data.Translation;
public class TranslationResponse {
diff --git a/src/main/java/tech/brenoepic/at4j/util/logging/FallbackLoggerConfiguration.java b/src/main/java/com/github/brenoepics/at4j/util/logging/FallbackLoggerConfiguration.java
similarity index 96%
rename from src/main/java/tech/brenoepic/at4j/util/logging/FallbackLoggerConfiguration.java
rename to src/main/java/com/github/brenoepics/at4j/util/logging/FallbackLoggerConfiguration.java
index 4369a32..02d764c 100644
--- a/src/main/java/tech/brenoepic/at4j/util/logging/FallbackLoggerConfiguration.java
+++ b/src/main/java/com/github/brenoepics/at4j/util/logging/FallbackLoggerConfiguration.java
@@ -1,4 +1,4 @@
-package tech.brenoepic.at4j.util.logging;
+package com.github.brenoepics.at4j.util.logging;
import java.util.concurrent.atomic.AtomicBoolean;
diff --git a/src/main/java/tech/brenoepic/at4j/util/logging/LoggerUtil.java b/src/main/java/com/github/brenoepics/at4j/util/logging/LoggerUtil.java
similarity index 98%
rename from src/main/java/tech/brenoepic/at4j/util/logging/LoggerUtil.java
rename to src/main/java/com/github/brenoepics/at4j/util/logging/LoggerUtil.java
index 6527236..dc6b476 100644
--- a/src/main/java/tech/brenoepic/at4j/util/logging/LoggerUtil.java
+++ b/src/main/java/com/github/brenoepics/at4j/util/logging/LoggerUtil.java
@@ -1,4 +1,4 @@
-package tech.brenoepic.at4j.util.logging;
+package com.github.brenoepics.at4j.util.logging;
import java.util.Map;
import java.util.Properties;
diff --git a/src/main/java/tech/brenoepic/at4j/util/logging/PrivacyProtectionLogger.java b/src/main/java/com/github/brenoepics/at4j/util/logging/PrivacyProtectionLogger.java
similarity index 99%
rename from src/main/java/tech/brenoepic/at4j/util/logging/PrivacyProtectionLogger.java
rename to src/main/java/com/github/brenoepics/at4j/util/logging/PrivacyProtectionLogger.java
index 530aa60..56f9d6b 100644
--- a/src/main/java/tech/brenoepic/at4j/util/logging/PrivacyProtectionLogger.java
+++ b/src/main/java/com/github/brenoepics/at4j/util/logging/PrivacyProtectionLogger.java
@@ -1,4 +1,4 @@
-package tech.brenoepic.at4j.util.logging;
+package com.github.brenoepics.at4j.util.logging;
import java.util.HashSet;
import java.util.Set;
diff --git a/src/main/java/tech/brenoepic/at4j/util/rest/RestEndpoint.java b/src/main/java/com/github/brenoepics/at4j/util/rest/RestEndpoint.java
similarity index 96%
rename from src/main/java/tech/brenoepic/at4j/util/rest/RestEndpoint.java
rename to src/main/java/com/github/brenoepics/at4j/util/rest/RestEndpoint.java
index 06402e7..b738c55 100644
--- a/src/main/java/tech/brenoepic/at4j/util/rest/RestEndpoint.java
+++ b/src/main/java/com/github/brenoepics/at4j/util/rest/RestEndpoint.java
@@ -1,8 +1,9 @@
-package tech.brenoepic.at4j.util.rest;
+package com.github.brenoepics.at4j.util.rest;
import java.util.Optional;
+
+import com.github.brenoepics.at4j.azure.BaseURL;
import okhttp3.HttpUrl;
-import tech.brenoepic.at4j.azure.BaseURL;
/** This enum contains all endpoints that we may use. */
public enum RestEndpoint {
diff --git a/src/main/java/tech/brenoepic/at4j/util/rest/RestMethod.java b/src/main/java/com/github/brenoepics/at4j/util/rest/RestMethod.java
similarity index 72%
rename from src/main/java/tech/brenoepic/at4j/util/rest/RestMethod.java
rename to src/main/java/com/github/brenoepics/at4j/util/rest/RestMethod.java
index 7b6527d..4f6387f 100644
--- a/src/main/java/tech/brenoepic/at4j/util/rest/RestMethod.java
+++ b/src/main/java/com/github/brenoepics/at4j/util/rest/RestMethod.java
@@ -1,4 +1,4 @@
-package tech.brenoepic.at4j.util.rest;
+package com.github.brenoepics.at4j.util.rest;
/** An enum with all commonly used http methods. */
public enum RestMethod {
diff --git a/src/main/java/tech/brenoepic/at4j/util/rest/RestRequest.java b/src/main/java/com/github/brenoepics/at4j/util/rest/RestRequest.java
similarity index 97%
rename from src/main/java/tech/brenoepic/at4j/util/rest/RestRequest.java
rename to src/main/java/com/github/brenoepics/at4j/util/rest/RestRequest.java
index 09d0895..7c4a654 100644
--- a/src/main/java/tech/brenoepic/at4j/util/rest/RestRequest.java
+++ b/src/main/java/com/github/brenoepics/at4j/util/rest/RestRequest.java
@@ -1,6 +1,11 @@
-package tech.brenoepic.at4j.util.rest;
+package com.github.brenoepics.at4j.util.rest;
import com.fasterxml.jackson.databind.JsonNode;
+import com.github.brenoepics.at4j.AT4J;
+import com.github.brenoepics.at4j.AzureApi;
+import com.github.brenoepics.at4j.core.AzureApiImpl;
+import com.github.brenoepics.at4j.core.exceptions.AzureException;
+import com.github.brenoepics.at4j.util.logging.LoggerUtil;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.Multimap;
import java.io.IOException;
@@ -13,11 +18,6 @@
import java.util.function.Function;
import okhttp3.*;
import org.apache.logging.log4j.Logger;
-import tech.brenoepic.at4j.AT4J;
-import tech.brenoepic.at4j.AzureApi;
-import tech.brenoepic.at4j.core.AzureApiImpl;
-import tech.brenoepic.at4j.core.exceptions.AzureException;
-import tech.brenoepic.at4j.util.logging.LoggerUtil;
/** This class is used to wrap a rest request. */
public class RestRequest {
diff --git a/src/main/java/tech/brenoepic/at4j/util/rest/RestRequestHttpResponseCode.java b/src/main/java/com/github/brenoepics/at4j/util/rest/RestRequestHttpResponseCode.java
similarity index 96%
rename from src/main/java/tech/brenoepic/at4j/util/rest/RestRequestHttpResponseCode.java
rename to src/main/java/com/github/brenoepics/at4j/util/rest/RestRequestHttpResponseCode.java
index d284632..343ff20 100644
--- a/src/main/java/tech/brenoepic/at4j/util/rest/RestRequestHttpResponseCode.java
+++ b/src/main/java/com/github/brenoepics/at4j/util/rest/RestRequestHttpResponseCode.java
@@ -1,4 +1,4 @@
-package tech.brenoepic.at4j.util.rest;
+package com.github.brenoepics.at4j.util.rest;
import java.util.Arrays;
import java.util.Collections;
@@ -6,10 +6,11 @@
import java.util.Optional;
import java.util.function.Function;
import java.util.stream.Collectors;
-import tech.brenoepic.at4j.core.exceptions.AzureException;
-import tech.brenoepic.at4j.core.exceptions.AzureExceptionInstantiator;
-import tech.brenoepic.at4j.core.exceptions.BadRequestException;
-import tech.brenoepic.at4j.core.exceptions.NotFoundException;
+
+import com.github.brenoepics.at4j.core.exceptions.AzureException;
+import com.github.brenoepics.at4j.core.exceptions.BadRequestException;
+import com.github.brenoepics.at4j.core.exceptions.NotFoundException;
+import com.github.brenoepics.at4j.core.exceptions.AzureExceptionInstantiator;
/**
* An enum with all rest request result codes as defined by