1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-10-01 15:06:10 +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")
} }
} }
} }
}
} }