ConfigurableInlineTelegramBot/build.gradle

48 lines
1.1 KiB
Groovy
Raw Normal View History

2021-02-02 13:15:42 +00:00
project.group = "com.insanusmokrassar"
buildscript {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
}
}
apply plugin: 'kotlin'
apply plugin: 'application'
apply plugin: 'kotlinx-serialization'
mainClassName="dev.inmo.configurable_inline_telegram_bot.StartBotKt"
apply from: "publish.gradle"
2021-02-02 13:34:24 +00:00
if (System.getenv("DOCKER_BUILD") != "true") {
project.version = "$library_version"
}
2021-02-02 13:15:42 +00:00
project.group = "$library_group"
repositories {
mavenLocal()
mavenCentral()
maven { url "https://kotlin.bintray.com/kotlinx" }
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
2022-04-10 16:14:56 +00:00
2021-02-02 13:15:42 +00:00
implementation "dev.inmo:tgbotapi:$telegram_bot_api_version"
api "io.ktor:ktor-client-core:$ktor_version"
api "io.ktor:ktor-client-okhttp:$ktor_version"
api "io.ktor:ktor-server-core:$ktor_version"
api "io.ktor:ktor-server-tomcat:$ktor_version"
// Use JUnit test framework
2022-04-10 16:14:56 +00:00
testImplementation 'junit:junit:4.13.2'
2021-02-02 13:15:42 +00:00
}