1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-12-25 10:07:14 +00:00

turn on incremental building and add TelegramBot typealias

This commit is contained in:
InsanusMokrassar 2020-08-20 15:00:45 +06:00
parent 76a9fd1a55
commit 1019fd4d19
3 changed files with 7 additions and 1 deletions

View File

@ -21,6 +21,8 @@
* `Ktor`: `1.3.2` -> `1.4.0`
* `buildMimeType` function now is cache-oriented getter which will save already got mime types into internal map
* All deprecations from previous versions were removed
* `TelegramBotAPI-core`:
* Typealias `TelegramBot` was added
## 0.27.0

View File

@ -19,4 +19,6 @@ interface RequestsExecutor : Closeable {
* @throws Exception
*/
suspend fun <T : Any> execute(request: Request<T>): T
}
}
typealias TelegramBot = RequestsExecutor

View File

@ -2,6 +2,8 @@ org.gradle.jvmargs=-Xmx1024m
kotlin.code.style=official
org.gradle.parallel=true
kotlin.js.generate.externals=true
kotlin.incremental=true
kotlin.incremental.js=true
kotlin_version=1.4.0
kotlin_coroutines_version=1.3.9