1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-12-22 16:47:13 +00:00

Update build.gradle

This commit is contained in:
InsanusMokrassar 2020-11-11 01:32:25 +06:00 committed by GitHub
parent 5f33d05deb
commit d776071cac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,15 +40,9 @@ kotlin {
commonMain {
dependencies {
implementation kotlin('stdlib')
if ((project.hasProperty('RELEASE_MODE') && project.property('RELEASE_MODE') == "true") || System.getenv('RELEASE_MODE') == "true") {
api "${project.group}:tgbotapi.core:$library_version"
api "${project.group}:tgbotapi.extensions.api:$library_version"
api "${project.group}:tgbotapi.extensions.utils:$library_version"
} else {
api project(":tgbotapi.core")
api project(":tgbotapi.extensions.api")
api project(":tgbotapi.extensions.utils")
}
api project(":tgbotapi.core")
api project(":tgbotapi.extensions.api")
api project(":tgbotapi.extensions.utils")
}
}
}