From a8ffc08581edb9a1db8a4af4fea5a7a6bfa23fce Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Thu, 8 Sep 2022 15:02:43 +0200 Subject: [PATCH] Increase version to 0.1.1 --- CHANGELOG.md | 6 ++++++ README.md | 4 ++-- deepl-java/build.gradle.kts | 2 +- deepl-java/src/main/java/com/deepl/api/Translator.java | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b54df3a..b557437 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.1.2] - 2022-09-08 +### Fixed +* Fix publishing to Maven Central by including sourcesJar and javadocJar. + + ## [0.1.1] - 2022-09-08 ### Fixed * Fix CI publishing step. @@ -14,5 +19,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 Initial version. +[0.1.2]: https://github.com/DeepLcom/deepl-java/compare/v0.1.1...v0.1.2 [0.1.1]: https://github.com/DeepLcom/deepl-java/compare/v0.1.0...v0.1.1 [0.1.0]: https://github.com/DeepLcom/deepl-java/releases/tag/v0.1.0 diff --git a/README.md b/README.md index a8ef2e9..e52fc33 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Java 1.8 or later. Add this dependency to your project's build file: ``` -implementation "com.deepl.api:deepl-java:0.1.1" +implementation "com.deepl.api:deepl-java:0.1.2" ``` ### Maven users @@ -40,7 +40,7 @@ Add this dependency to your project's POM: com.deepl.api deepl-java - 0.1.1 + 0.1.2 ``` diff --git a/deepl-java/build.gradle.kts b/deepl-java/build.gradle.kts index 899c4fc..b8cfedd 100644 --- a/deepl-java/build.gradle.kts +++ b/deepl-java/build.gradle.kts @@ -6,7 +6,7 @@ plugins { } group = "com.deepl.api" -version = "0.1.1" +version = "0.1.2" java { sourceCompatibility = JavaVersion.VERSION_1_8 diff --git a/deepl-java/src/main/java/com/deepl/api/Translator.java b/deepl-java/src/main/java/com/deepl/api/Translator.java index fdd70ac..e4749d5 100644 --- a/deepl-java/src/main/java/com/deepl/api/Translator.java +++ b/deepl-java/src/main/java/com/deepl/api/Translator.java @@ -54,7 +54,7 @@ public Translator(String authKey, TranslatorOptions options) throws IllegalArgum headers.putAll(options.getHeaders()); } headers.putIfAbsent("Authorization", "DeepL-Auth-Key " + authKey); - headers.putIfAbsent("User-Agent", "deepl-java/0.1.1"); + headers.putIfAbsent("User-Agent", "deepl-java/0.1.2"); this.httpClientWrapper = new HttpClientWrapper(