2021-02-02 13:15:42 +00:00
|
|
|
project.group = "com.insanusmokrassar"
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
jcenter()
|
|
|
|
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()
|
|
|
|
jcenter()
|
|
|
|
mavenCentral()
|
|
|
|
maven { url "https://kotlin.bintray.com/kotlinx" }
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
|
|
|
|
|
|
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
|
2021-02-07 16:35:52 +00:00
|
|
|
testImplementation 'junit:junit:4.13.1'
|
2021-02-02 13:15:42 +00:00
|
|
|
}
|