From 2ae7507c0163112a29bd6efeba74fd585f7d126f Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Fri, 27 Jun 2025 09:48:39 +0600 Subject: [PATCH 1/2] 0.26.6 --- build.gradle | 18 ++++++++++++++++++ gradle.properties | 10 ++++++---- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 0ffad92..daf5d62 100644 --- a/build.gradle +++ b/build.gradle @@ -10,6 +10,24 @@ buildscript { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version" classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokka_version" + classpath "com.gradleup.nmcp.aggregation:$nmcp_version" + } +} + +plugins { + id "com.gradleup.nmcp.aggregation" +} + +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() } } diff --git a/gradle.properties b/gradle.properties index 644e956..5266315 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 From ff99bdd45d94e1ef81c1d40ba098d981d334a4fd Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Fri, 27 Jun 2025 09:50:18 +0600 Subject: [PATCH 2/2] update publishing way --- build.gradle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index daf5d62..2b598fa 100644 --- a/build.gradle +++ b/build.gradle @@ -10,12 +10,11 @@ buildscript { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version" classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokka_version" - classpath "com.gradleup.nmcp.aggregation:$nmcp_version" } } plugins { - id "com.gradleup.nmcp.aggregation" + 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)) {