mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-27 20:48:44 +00:00
parent
f974e5787f
commit
ce1d15ebb2
@ -3,6 +3,7 @@ buildscript {
|
|||||||
mavenLocal()
|
mavenLocal()
|
||||||
jcenter()
|
jcenter()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
maven { url "https://plugins.gradle.org/m2/" }
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
@ -14,6 +15,7 @@ buildscript {
|
|||||||
plugins {
|
plugins {
|
||||||
id "org.jetbrains.kotlin.multiplatform"
|
id "org.jetbrains.kotlin.multiplatform"
|
||||||
id "org.jetbrains.kotlin.plugin.serialization"
|
id "org.jetbrains.kotlin.plugin.serialization"
|
||||||
|
id "org.jetbrains.kotlin.kapt"
|
||||||
}
|
}
|
||||||
|
|
||||||
project.version = "$library_version"
|
project.version = "$library_version"
|
||||||
@ -26,6 +28,7 @@ repositories {
|
|||||||
jcenter()
|
jcenter()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven { url "https://kotlin.bintray.com/kotlinx" }
|
maven { url "https://kotlin.bintray.com/kotlinx" }
|
||||||
|
maven { url 'https://jitpack.io' }
|
||||||
}
|
}
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
@ -49,6 +52,7 @@ kotlin {
|
|||||||
api "dev.inmo:micro_utils.coroutines:$micro_utils_version"
|
api "dev.inmo:micro_utils.coroutines:$micro_utils_version"
|
||||||
|
|
||||||
api "io.ktor:ktor-client-core:$ktor_version"
|
api "io.ktor:ktor-client-core:$ktor_version"
|
||||||
|
api "com.github.matfax.klassindex:library:4.+"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
commonTest {
|
commonTest {
|
||||||
@ -90,3 +94,30 @@ kotlin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
kapt "com.github.matfax.klassindex:processor:4.+"
|
||||||
|
}
|
||||||
|
|
||||||
|
kapt {
|
||||||
|
useBuildCache = false
|
||||||
|
arguments {
|
||||||
|
arg(
|
||||||
|
"com.github.matfax.klassindex.IndexSubclasses",
|
||||||
|
"dev.inmo.tgbotapi.types.chat.abstracts.Chat",
|
||||||
|
// "dev.inmo.tgbotapi.types.message.abstracts.Message",
|
||||||
|
// "dev.inmo.tgbotapi.types.CallbackQuery.CallbackQuery",
|
||||||
|
// "dev.inmo.tgbotapi.types.buttons.KeyboardMarkup",
|
||||||
|
// "dev.inmo.tgbotapi.types.actions.BotAction",
|
||||||
|
// "dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons.InlineKeyboardButton",
|
||||||
|
// "dev.inmo.tgbotapi.types.ChatMember.abstracts.ChatMember",
|
||||||
|
// "dev.inmo.tgbotapi.types.files.abstracts.TelegramMediaFile",
|
||||||
|
// "dev.inmo.tgbotapi.types.InlineQueries.abstracts.InlineQuery",
|
||||||
|
// "dev.inmo.tgbotapi.types.InlineQueries.InlineQueryResult.abstracts.InlineQueryResult",
|
||||||
|
// "dev.inmo.tgbotapi.types.InlineQueries.abstracts.InputMessageContent",
|
||||||
|
// "dev.inmo.tgbotapi.types.InputMedia.InputMedia",
|
||||||
|
// "dev.inmo.tgbotapi.types.polls.Poll",
|
||||||
|
// "dev.inmo.tgbotapi.types.update.abstracts.Update"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user