buildscript { repositories { mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } apply plugin: 'kotlin' apply plugin: 'application' mainClassName="RightsChangerKt" dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation "dev.inmo:tgbotapi:$telegram_bot_api_version" implementation 'io.ktor:ktor-client-logging-jvm:3.0.1' }