1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-26 12:08:43 +00:00

Update extensions api dependencies

This commit is contained in:
InsanusMokrassar 2020-11-11 01:30:31 +06:00 committed by GitHub
parent 96e00f6e31
commit 912cc7217c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,12 +40,8 @@ kotlin {
commonMain { commonMain {
dependencies { dependencies {
implementation kotlin('stdlib') 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"
} else {
api project(":tgbotapi.core") api project(":tgbotapi.core")
} }
} }
} }
}
} }