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:
parent
76a9fd1a55
commit
1019fd4d19
@ -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
|
||||
|
||||
|
@ -19,4 +19,6 @@ interface RequestsExecutor : Closeable {
|
||||
* @throws Exception
|
||||
*/
|
||||
suspend fun <T : Any> execute(request: Request<T>): T
|
||||
}
|
||||
}
|
||||
|
||||
typealias TelegramBot = RequestsExecutor
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user