diff --git a/README.md b/README.md index ebe105a92c..711a66342b 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,10 @@ | Common info | [![Awesome Kotlin Badge](https://kotlin.link/awesome-kotlin.svg)](https://github.com/KotlinBy/awesome-kotlin) [![Build Status](https://travis-ci.com/InsanusMokrassar/TelegramBotAPI.svg?branch=master)](https://travis-ci.com/InsanusMokrassar/TelegramBotAPI) [Small survey](https://forms.gle/tnjuExdSKEr32ygKA)| | -------------------------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Useful links | [![Chat in Telegram](badges/chat.svg)](https://t.me/InMoTelegramBotAPI) [![KDocs](badges/kdocs.svg)](https://tgbotapi.inmo.dev/docs/index.html) [Examples](https://github.com/InsanusMokrassar/TelegramBotAPI-examples/), [Mini tutorial](https://bookstack.inmo.dev/books/telegrambotapi/chapter/introduction-tutorial) | -| TelegramBotAPI Core status | [![Download](https://api.bintray.com/packages/insanusmokrassar/StandardRepository/TelegramBotAPI-core/images/download.svg)](https://bintray.com/insanusmokrassar/StandardRepository/TelegramBotAPI-core/_latestVersion) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.insanusmokrassar/TelegramBotAPI-core/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.insanusmokrassar/TelegramBotAPI) | -| TelegramBotAPI Extensions status | [![Download](https://api.bintray.com/packages/insanusmokrassar/StandardRepository/TelegramBotAPI-extensions-api/images/download.svg)](https://bintray.com/insanusmokrassar/StandardRepository/TelegramBotAPI-extensions-api/_latestVersion) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.insanusmokrassar/TelegramBotAPI-extensions-api/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.insanusmokrassar/TelegramBotAPI-extensions-api) | -| TelegramBotAPI Util Extensions status | [![Download](https://api.bintray.com/packages/insanusmokrassar/StandardRepository/TelegramBotAPI-extensions-utils/images/download.svg)](https://bintray.com/insanusmokrassar/StandardRepository/TelegramBotAPI-extensions-utils/_latestVersion) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.insanusmokrassar/TelegramBotAPI-extensions-utils/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.insanusmokrassar/TelegramBotAPI-extensions-utils) | -| TelegramBotAPI All status | [![Download](https://api.bintray.com/packages/insanusmokrassar/StandardRepository/TelegramBotAPI/images/download.svg)](https://bintray.com/insanusmokrassar/StandardRepository/TelegramBotAPI/_latestVersion) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.insanusmokrassar/TelegramBotAPI/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.insanusmokrassar/TelegramBotAPI-all) | +| TelegramBotAPI Core status | [![Download](https://api.bintray.com/packages/insanusmokrassar/TelegramBotAPI/TelegramBotAPI-core/images/download.svg)](https://bintray.com/insanusmokrassar/TelegramBotAPI/TelegramBotAPI-core/_latestVersion) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/dev.inmo.tgbotapi/TelegramBotAPI-core/badge.svg)](https://maven-badges.herokuapp.com/maven-central/dev.inmo.tgbotapi/TelegramBotAPI) | +| TelegramBotAPI Extensions status | [![Download](https://api.bintray.com/packages/insanusmokrassar/TelegramBotAPI/TelegramBotAPI-extensions-api/images/download.svg)](https://bintray.com/insanusmokrassar/TelegramBotAPI/TelegramBotAPI-extensions-api/_latestVersion) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/dev.inmo.tgbotapi/TelegramBotAPI-extensions-api/badge.svg)](https://maven-badges.herokuapp.com/maven-central/dev.inmo.tgbotapi/TelegramBotAPI-extensions-api) | +| TelegramBotAPI Util Extensions status | [![Download](https://api.bintray.com/packages/insanusmokrassar/TelegramBotAPI/TelegramBotAPI-extensions-utils/images/download.svg)](https://bintray.com/insanusmokrassar/TelegramBotAPI/TelegramBotAPI-extensions-utils/_latestVersion) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/dev.inmo.tgbotapi/TelegramBotAPI-extensions-utils/badge.svg)](https://maven-badges.herokuapp.com/maven-central/dev.inmo.tgbotapi/TelegramBotAPI-extensions-utils) | +| TelegramBotAPI All status | [![Download](https://api.bintray.com/packages/insanusmokrassar/TelegramBotAPI/TelegramBotAPI/images/download.svg)](https://bintray.com/insanusmokrassar/TelegramBotAPI/TelegramBotAPI/_latestVersion) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/dev.inmo.tgbotapi/TelegramBotAPI/badge.svg)](https://maven-badges.herokuapp.com/maven-central/dev.inmo.tgbotapi/TelegramBotAPI-all) | **At the time of publication of version `0.28.0` there are errors in serialization plugins like [kotlinx.serialization#1004](https://github.com/Kotlin/kotlinx.serialization/issues/1004). It is possible, that both JVM @@ -40,9 +40,9 @@ In case if you are want to use this library inside of browser, you will need add dependencies { /* ... */ - implementation "com.github.insanusmokrassar:TelegramBotAPI:$tgbot_api_version" - implementation "com.github.insanusmokrassar:TelegramBotAPI-extensions-api:$tgbot_api_version" // optional - implementation "com.github.insanusmokrassar:TelegramBotAPI-extensions-utils:$tgbot_api_version" // optional + implementation "dev.inmo.tgbotapi:TelegramBotAPI:$tgbot_api_version" + implementation "dev.inmo.tgbotapi:TelegramBotAPI-extensions-api:$tgbot_api_version" // optional + implementation "dev.inmo.tgbotapi:TelegramBotAPI-extensions-utils:$tgbot_api_version" // optional /* Block of dependencies for correct building in browser */ implementation(npm("fs")) diff --git a/TelegramBotAPI-core/README.md b/TelegramBotAPI-core/README.md index 9fc57a46c2..661a9d8a99 100644 --- a/TelegramBotAPI-core/README.md +++ b/TelegramBotAPI-core/README.md @@ -1,7 +1,7 @@ # TelegramBotAPI-core -[![Download](https://api.bintray.com/packages/insanusmokrassar/StandardRepository/TelegramBotAPI-core/images/download.svg) ](https://bintray.com/insanusmokrassar/StandardRepository/TelegramBotAPI-core/_latestVersion) -[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.insanusmokrassar/TelegramBotAPI-core/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.insanusmokrassar/TelegramBotAPI) +[![Download](https://api.bintray.com/packages/insanusmokrassar/TelegramBotAPI/TelegramBotAPI-core/images/download.svg) ](https://bintray.com/insanusmokrassar/TelegramBotAPI/TelegramBotAPI-core/_latestVersion) +[![Maven Central](https://maven-badges.herokuapp.com/maven-central/dev.inmo.tgbotapi/TelegramBotAPI-core/badge.svg)](https://maven-badges.herokuapp.com/maven-central/dev.inmo.tgbotapi/TelegramBotAPI) ## What is it? @@ -20,15 +20,15 @@ as soon as possible. Common ways to implement this library are presented here. In some cases it will require additional steps like inserting of additional libraries (like `kotlin stdlib`). In the examples will be used variable `telegrambotapi.version`, which must be set up by developer. Available versions are presented on -[bintray](https://bintray.com/insanusmokrassar/StandardRepository/TelegramBotAPI-core), next version is last published: +[bintray](https://bintray.com/insanusmokrassar/TelegramBotAPI/TelegramBotAPI-core), next version is last published: -[![Download](https://api.bintray.com/packages/insanusmokrassar/StandardRepository/TelegramBotAPI-core/images/download.svg) ](https://bintray.com/insanusmokrassar/StandardRepository/TelegramBotAPI-core/_latestVersion) +[![Download](https://api.bintray.com/packages/insanusmokrassar/TelegramBotAPI/TelegramBotAPI-core/images/download.svg) ](https://bintray.com/insanusmokrassar/TelegramBotAPI/TelegramBotAPI-core/_latestVersion) Currently, last versions of library can be available from the Maven repository with errors (for the reason difficult in publishing of signed artifacts in Bintray). You can: * Use earlier version (available version you can find -[here](https://mvnrepository.com/artifact/com.github.insanusmokrassar/TelegramBotAPI) (before 0.28.0) or [here](https://mvnrepository.com/artifact/com.github.insanusmokrassar/TelegramBotAPI-core)) +[here](https://mvnrepository.com/artifact/dev.inmo.tgbotapi/TelegramBotAPI) (before 0.28.0) or [here](https://mvnrepository.com/artifact/dev.inmo.tgbotapi/TelegramBotAPI-core)) * Add `jCenter` repository in build config ### Maven @@ -37,7 +37,7 @@ Dependency config presented here: ```xml - com.github.insanusmokrassar + dev.inmo.tgbotapi TelegramBotAPI-core ${telegrambotapi.version} @@ -52,13 +52,13 @@ To use last versions you will need to add one line in repositories block of your And add next line to your dependencies block: ```groovy -implementation "com.github.insanusmokrassar:TelegramBotAPI-core:$telegrambotapi_version" +implementation "dev.inmo.tgbotapi:TelegramBotAPI-core:$telegrambotapi_version" ``` or for old gradle: ```groovy -compile "com.github.insanusmokrassar:TelegramBotAPI-core:$telegrambotapi_version" +compile "dev.inmo.tgbotapi:TelegramBotAPI-core:$telegrambotapi_version" ``` ## How to work with library? diff --git a/TelegramBotAPI-core/publish.gradle b/TelegramBotAPI-core/publish.gradle index 678db0997f..40151c5550 100644 --- a/TelegramBotAPI-core/publish.gradle +++ b/TelegramBotAPI-core/publish.gradle @@ -29,7 +29,7 @@ bintray { publish = true pkg { - repo = "StandardRepository" + repo = "TelegramBotAPI" name = "${project.name}" vcsUrl = "https://github.com/InsanusMokrassar/TelegramBotAPI" licenses = ["Apache-2.0"] diff --git a/TelegramBotAPI-extensions-api/README.md b/TelegramBotAPI-extensions-api/README.md index fbc2e5f0e3..2a36154223 100644 --- a/TelegramBotAPI-extensions-api/README.md +++ b/TelegramBotAPI-extensions-api/README.md @@ -1,7 +1,7 @@ # TelegramBotAPI extensions -[![Download](https://api.bintray.com/packages/insanusmokrassar/StandardRepository/TelegramBotAPI-extensions-api/images/download.svg) ](https://bintray.com/insanusmokrassar/StandardRepository/TelegramBotAPI-extensions-api/_latestVersion) -[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.insanusmokrassar/TelegramBotAPI-extensions-api/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.insanusmokrassar/TelegramBotAPI-extensions-api) +[![Download](https://api.bintray.com/packages/insanusmokrassar/TelegramBotAPI/TelegramBotAPI-extensions-api/images/download.svg) ](https://bintray.com/insanusmokrassar/TelegramBotAPI/TelegramBotAPI-extensions-api/_latestVersion) +[![Maven Central](https://maven-badges.herokuapp.com/maven-central/dev.inmo.tgbotapi/TelegramBotAPI-extensions-api/badge.svg)](https://maven-badges.herokuapp.com/maven-central/dev.inmo.tgbotapi/TelegramBotAPI-extensions-api) ## What is it? @@ -18,9 +18,9 @@ This library always compatible with original `TelegramBotAPI-core` library versi Common ways to implement this library are presented here. In some cases it will require additional steps like inserting of additional libraries (like `kotlin stdlib`). In the examples will be used variable `telegrambotapi-extensions-api.version`, which must be set up by developer. Available versions are presented on -[bintray](https://bintray.com/insanusmokrassar/StandardRepository/TelegramBotAPI-extensions-api), next version is last published: +[bintray](https://bintray.com/insanusmokrassar/TelegramBotAPI/TelegramBotAPI-extensions-api), next version is last published: -[![Download](https://api.bintray.com/packages/insanusmokrassar/StandardRepository/TelegramBotAPI-extensions-api/images/download.svg) ](https://bintray.com/insanusmokrassar/StandardRepository/TelegramBotAPI-extensions-api/_latestVersion) +[![Download](https://api.bintray.com/packages/insanusmokrassar/TelegramBotAPI/TelegramBotAPI-extensions-api/images/download.svg) ](https://bintray.com/insanusmokrassar/TelegramBotAPI/TelegramBotAPI-extensions-api/_latestVersion) ### Maven @@ -28,7 +28,7 @@ Dependency config presented here: ```xml - com.github.insanusmokrassar + dev.inmo.tgbotapi TelegramBotAPI-extensions-api ${telegrambotapi-extensions-api.version} @@ -43,13 +43,13 @@ To use last versions you will need to add one line in repositories block of your And add next line to your dependencies block: ```groovy -implementation "com.github.insanusmokrassar:TelegramBotAPI-extensions-api:$telegrambotapi_extensions_api_version" +implementation "dev.inmo.tgbotapi:TelegramBotAPI-extensions-api:$telegrambotapi_extensions_api_version" ``` or for old gradle: ```groovy -compile "com.github.insanusmokrassar:TelegramBotAPI-extensions-api:$telegrambotapi_extensions_api_version" +compile "dev.inmo.tgbotapi:TelegramBotAPI-extensions-api:$telegrambotapi_extensions_api_version" ``` ## Example of usage and comparison with `TelegramBotAPI` diff --git a/TelegramBotAPI-extensions-api/publish.gradle b/TelegramBotAPI-extensions-api/publish.gradle index 678db0997f..40151c5550 100644 --- a/TelegramBotAPI-extensions-api/publish.gradle +++ b/TelegramBotAPI-extensions-api/publish.gradle @@ -29,7 +29,7 @@ bintray { publish = true pkg { - repo = "StandardRepository" + repo = "TelegramBotAPI" name = "${project.name}" vcsUrl = "https://github.com/InsanusMokrassar/TelegramBotAPI" licenses = ["Apache-2.0"] diff --git a/TelegramBotAPI-extensions-utils/README.md b/TelegramBotAPI-extensions-utils/README.md index a818642356..8796ad5618 100644 --- a/TelegramBotAPI-extensions-utils/README.md +++ b/TelegramBotAPI-extensions-utils/README.md @@ -19,8 +19,8 @@ Table of contents generated with markdown-toc -[![Download](https://api.bintray.com/packages/insanusmokrassar/StandardRepository/TelegramBotAPI-extensions-utils/images/download.svg) ](https://bintray.com/insanusmokrassar/StandardRepository/TelegramBotAPI-extensions-utils/_latestVersion) -[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.insanusmokrassar/TelegramBotAPI-extensions-utils/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.insanusmokrassar/TelegramBotAPI-extensions-utils) +[![Download](https://api.bintray.com/packages/insanusmokrassar/TelegramBotAPI/TelegramBotAPI-extensions-utils/images/download.svg) ](https://bintray.com/insanusmokrassar/TelegramBotAPI/TelegramBotAPI-extensions-utils/_latestVersion) +[![Maven Central](https://maven-badges.herokuapp.com/maven-central/dev.inmo.tgbotapi/TelegramBotAPI-extensions-utils/badge.svg)](https://maven-badges.herokuapp.com/maven-central/dev.inmo.tgbotapi/TelegramBotAPI-extensions-utils) ## What is it? @@ -31,9 +31,9 @@ It is wrapper library for [TelegramBotAPI-core](../TelegramBotAPI-core/README.md Common ways to implement this library are presented here. In some cases it will require additional steps like inserting of additional libraries (like `kotlin stdlib`). In the examples will be used variable `telegrambotapi-extensions-utils_version`, which must be set up by developer. Available versions are presented on -[bintray](https://bintray.com/insanusmokrassar/StandardRepository/TelegramBotAPI-extensions-utils), next version is last published: +[bintray](https://bintray.com/insanusmokrassar/TelegramBotAPI/TelegramBotAPI-extensions-utils), next version is last published: -[![Download](https://api.bintray.com/packages/insanusmokrassar/StandardRepository/TelegramBotAPI-extensions-utils/images/download.svg) ](https://bintray.com/insanusmokrassar/StandardRepository/TelegramBotAPI-extensions-utils/_latestVersion) +[![Download](https://api.bintray.com/packages/insanusmokrassar/TelegramBotAPI/TelegramBotAPI-extensions-utils/images/download.svg) ](https://bintray.com/insanusmokrassar/TelegramBotAPI/TelegramBotAPI-extensions-utils/_latestVersion) ### Maven @@ -41,7 +41,7 @@ Dependency config presented here: ```xml - com.github.insanusmokrassar + dev.inmo.tgbotapi TelegramBotAPI-extensions-utils ${telegrambotapi-extensions-utils_version} @@ -56,13 +56,13 @@ To use last versions you will need to add one line in repositories block of your And add next line to your dependencies block: ```groovy -implementation "com.github.insanusmokrassar:TelegramBotAPI-extensions-utils:$telegrambotapi-extensions-utils_version" +implementation "dev.inmo.tgbotapi:TelegramBotAPI-extensions-utils:$telegrambotapi-extensions-utils_version" ``` or for old gradle: ```groovy -compile "com.github.insanusmokrassar:TelegramBotAPI-extensions-utils:$telegrambotapi-extensions-utils_version" +compile "dev.inmo.tgbotapi:TelegramBotAPI-extensions-utils:$telegrambotapi-extensions-utils_version" ``` ## How to use? diff --git a/TelegramBotAPI-extensions-utils/publish.gradle b/TelegramBotAPI-extensions-utils/publish.gradle index 678db0997f..40151c5550 100644 --- a/TelegramBotAPI-extensions-utils/publish.gradle +++ b/TelegramBotAPI-extensions-utils/publish.gradle @@ -29,7 +29,7 @@ bintray { publish = true pkg { - repo = "StandardRepository" + repo = "TelegramBotAPI" name = "${project.name}" vcsUrl = "https://github.com/InsanusMokrassar/TelegramBotAPI" licenses = ["Apache-2.0"] diff --git a/TelegramBotAPI/README.md b/TelegramBotAPI/README.md index 42aa02505f..6f21b52ff1 100644 --- a/TelegramBotAPI/README.md +++ b/TelegramBotAPI/README.md @@ -11,6 +11,6 @@ Concentration of all TelegramBotAPI libraries: ```groovy dependencies { // ... - implementation "com.github.insanusmokrassar:TelegramBotAPI:$tgBotAPIVersion" + implementation "dev.inmo.tgbotapi:TelegramBotAPI:$tgBotAPIVersion" } ``` diff --git a/TelegramBotAPI/publish.gradle b/TelegramBotAPI/publish.gradle index 678db0997f..40151c5550 100644 --- a/TelegramBotAPI/publish.gradle +++ b/TelegramBotAPI/publish.gradle @@ -29,7 +29,7 @@ bintray { publish = true pkg { - repo = "StandardRepository" + repo = "TelegramBotAPI" name = "${project.name}" vcsUrl = "https://github.com/InsanusMokrassar/TelegramBotAPI" licenses = ["Apache-2.0"] diff --git a/gradle.properties b/gradle.properties index e62d63a7ad..a67fbb591e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,7 +14,7 @@ ktor_version=1.4.1 javax_activation_version=1.1.1 -library_group=com.github.insanusmokrassar +library_group=dev.inmo library_version=0.29.0 gradle_bintray_plugin_version=1.8.5