buildscript { repositories { mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version" } } plugins { id 'org.jetbrains.kotlin.jvm' version "$kotlin_version" id "org.jetbrains.kotlin.plugin.serialization" version "$kotlin_version" id 'application' } repositories { mavenCentral() } dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation "dev.inmo:tgbotapi:$tgbotapi_version" } application { mainClassName = 'telegram_bot.AppKt' }