mirror of
https://github.com/InsanusMokrassar/TelegramBotApiLibraries.git
synced 2025-09-07 17:19:27 +00:00
17
build.gradle
17
build.gradle
@@ -13,6 +13,23 @@ buildscript {
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id "com.gradleup.nmcp.aggregation" version "$nmcp_version"
|
||||
}
|
||||
|
||||
if ((project.hasProperty('SONATYPE_USER') || System.getenv('SONATYPE_USER') != null) && (project.hasProperty('SONATYPE_PASSWORD') || System.getenv('SONATYPE_PASSWORD') != null)) {
|
||||
nmcpAggregation {
|
||||
centralPortal {
|
||||
username = project.hasProperty('SONATYPE_USER') ? project.property('SONATYPE_USER') : System.getenv('SONATYPE_USER')
|
||||
password = project.hasProperty('SONATYPE_PASSWORD') ? project.property('SONATYPE_PASSWORD') : System.getenv('SONATYPE_PASSWORD')
|
||||
validationTimeout = Duration.ofHours(4)
|
||||
publishingType = System.getenv('PUBLISHING_TYPE') != "" ? System.getenv('PUBLISHING_TYPE') : "USER_MANAGED"
|
||||
}
|
||||
|
||||
publishAllProjectsProbablyBreakingProjectIsolation()
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
|
@@ -11,10 +11,12 @@ kotlin_serialisation_core_version=1.8.1
|
||||
|
||||
github_release_plugin_version=2.5.2
|
||||
|
||||
tgbotapi_version=24.0.2
|
||||
micro_utils_version=0.25.5
|
||||
tgbotapi_version=26.0.0
|
||||
micro_utils_version=0.25.8
|
||||
exposed_version=0.61.0
|
||||
plagubot_version=10.5.0
|
||||
plagubot_version=10.6.0
|
||||
|
||||
nmcp_version=0.2.1
|
||||
|
||||
# Dokka
|
||||
|
||||
@@ -23,4 +25,4 @@ dokka_version=2.0.0
|
||||
# Project data
|
||||
|
||||
group=dev.inmo
|
||||
version=0.26.5
|
||||
version=0.26.6
|
||||
|
Reference in New Issue
Block a user