mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-24 11:08:43 +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`
|
* `Ktor`: `1.3.2` -> `1.4.0`
|
||||||
* `buildMimeType` function now is cache-oriented getter which will save already got mime types into internal map
|
* `buildMimeType` function now is cache-oriented getter which will save already got mime types into internal map
|
||||||
* All deprecations from previous versions were removed
|
* All deprecations from previous versions were removed
|
||||||
|
* `TelegramBotAPI-core`:
|
||||||
|
* Typealias `TelegramBot` was added
|
||||||
|
|
||||||
## 0.27.0
|
## 0.27.0
|
||||||
|
|
||||||
|
@ -19,4 +19,6 @@ interface RequestsExecutor : Closeable {
|
|||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
suspend fun <T : Any> execute(request: Request<T>): T
|
suspend fun <T : Any> execute(request: Request<T>): T
|
||||||
}
|
}
|
||||||
|
|
||||||
|
typealias TelegramBot = RequestsExecutor
|
||||||
|
@ -2,6 +2,8 @@ org.gradle.jvmargs=-Xmx1024m
|
|||||||
kotlin.code.style=official
|
kotlin.code.style=official
|
||||||
org.gradle.parallel=true
|
org.gradle.parallel=true
|
||||||
kotlin.js.generate.externals=true
|
kotlin.js.generate.externals=true
|
||||||
|
kotlin.incremental=true
|
||||||
|
kotlin.incremental.js=true
|
||||||
|
|
||||||
kotlin_version=1.4.0
|
kotlin_version=1.4.0
|
||||||
kotlin_coroutines_version=1.3.9
|
kotlin_coroutines_version=1.3.9
|
||||||
|
Loading…
Reference in New Issue
Block a user