mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 16:23:48 +00:00
Update build.gradle
This commit is contained in:
parent
5f33d05deb
commit
d776071cac
@ -40,16 +40,10 @@ 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"
|
|
||||||
api "${project.group}:tgbotapi.extensions.api:$library_version"
|
|
||||||
api "${project.group}:tgbotapi.extensions.utils:$library_version"
|
|
||||||
} else {
|
|
||||||
api project(":tgbotapi.core")
|
api project(":tgbotapi.core")
|
||||||
api project(":tgbotapi.extensions.api")
|
api project(":tgbotapi.extensions.api")
|
||||||
api project(":tgbotapi.extensions.utils")
|
api project(":tgbotapi.extensions.utils")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user