diff --git a/TelegramBotAPI-all/maven.publish.gradle b/TelegramBotAPI-all/maven.publish.gradle index b81cdc6f73..173e11888f 100644 --- a/TelegramBotAPI-all/maven.publish.gradle +++ b/TelegramBotAPI-all/maven.publish.gradle @@ -20,37 +20,33 @@ publishing { publications.all { artifact javadocsJar - pom.withXml { - asNode().children().last() + { - resolveStrategy = Closure.DELEGATE_FIRST + pom { + description = "This project just include all subproject of TelegramBotAPI" + name = "Telegram Bot API All" + url = "https://insanusmokrassar.github.io/TelegramBotAPI/TelegramBotAPI-all" - description "This project just include all subproject of TelegramBotAPI" - name "Telegram Bot API All" - url "https://insanusmokrassar.github.io/TelegramBotAPI/TelegramBotAPI-all" + scm { + developerConnection = "scm:git:[fetch=]https://github.com/insanusmokrassar/TelegramBotAPI.git[push=]https://github.com/insanusmokrassar/TelegramBotAPI.git" + url = "https://github.com/insanusmokrassar/TelegramBotAPI.git" + } - scm { - developerConnection "scm:git:[fetch=]https://github.com/insanusmokrassar/TelegramBotAPI.git[push=]https://github.com/insanusmokrassar/TelegramBotAPI.git" - url "https://github.com/insanusmokrassar/TelegramBotAPI.git" - } + developers { + + developer { + id = "InsanusMokrassar" + name = "Ovsiannikov Aleksei" + email = "ovsyannikov.alexey95@gmail.com" + } + + } - developers { - - developer { - id "InsanusMokrassar" - name "Ovsiannikov Aleksei" - email "ovsyannikov.alexey95@gmail.com" - } - - } - - licenses { - - license { - name "Apache Software License 2.0" - url "https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE" - } - - } + licenses { + + license { + name = "Apache Software License 2.0" + url = "https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE" + } + } } } diff --git a/TelegramBotAPI-extensions-api/maven.publish.gradle b/TelegramBotAPI-extensions-api/maven.publish.gradle index ec352c0e8c..799421de47 100644 --- a/TelegramBotAPI-extensions-api/maven.publish.gradle +++ b/TelegramBotAPI-extensions-api/maven.publish.gradle @@ -20,37 +20,33 @@ publishing { publications.all { artifact javadocsJar - pom.withXml { - asNode().children().last() + { - resolveStrategy = Closure.DELEGATE_FIRST + pom { + description = "API extensions which provide work with RequestsExecutor of TelegramBotAPI almost like it is described in original Telegram Bot API reference" + name = "Telegram Bot API Extensions for API" + url = "https://insanusmokrassar.github.io/TelegramBotAPI/TelegramBotAPI-extensions-api" - description "API extensions which provide work with RequestsExecutor of TelegramBotAPI almost like it is described in original Telegram Bot API reference" - name "Telegram Bot API Extensions for API" - url "https://insanusmokrassar.github.io/TelegramBotAPI/TelegramBotAPI-extensions-api" + scm { + developerConnection = "scm:git:[fetch=]https://github.com/insanusmokrassar/TelegramBotAPI.git[push=]https://github.com/insanusmokrassar/TelegramBotAPI.git" + url = "https://github.com/insanusmokrassar/TelegramBotAPI.git" + } - scm { - developerConnection "scm:git:[fetch=]https://github.com/insanusmokrassar/TelegramBotAPI.git[push=]https://github.com/insanusmokrassar/TelegramBotAPI.git" - url "https://github.com/insanusmokrassar/TelegramBotAPI.git" - } + developers { + + developer { + id = "InsanusMokrassar" + name = "Ovsiannikov Aleksei" + email = "ovsyannikov.alexey95@gmail.com" + } + + } - developers { - - developer { - id "InsanusMokrassar" - name "Ovsiannikov Aleksei" - email "ovsyannikov.alexey95@gmail.com" - } - - } - - licenses { - - license { - name "Apache Software License 2.0" - url "https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE" - } - - } + licenses { + + license { + name = "Apache Software License 2.0" + url = "https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE" + } + } } } diff --git a/TelegramBotAPI-extensions-utils/maven.publish.gradle b/TelegramBotAPI-extensions-utils/maven.publish.gradle index 61f4b51a17..c8600ea641 100644 --- a/TelegramBotAPI-extensions-utils/maven.publish.gradle +++ b/TelegramBotAPI-extensions-utils/maven.publish.gradle @@ -20,37 +20,33 @@ publishing { publications.all { artifact javadocsJar - pom.withXml { - asNode().children().last() + { - resolveStrategy = Closure.DELEGATE_FIRST + pom { + description = "Util extensions for more useful work with updates and other things" + name = "Telegram Bot API Utility Extensions" + url = "https://insanusmokrassar.github.io/TelegramBotAPI/TelegramBotAPI-extensions-utils" - description "Util extensions for more useful work with updates and other things" - name "Telegram Bot API Utility Extensions" - url "https://insanusmokrassar.github.io/TelegramBotAPI/TelegramBotAPI-extensions-utils" + scm { + developerConnection = "scm:git:[fetch=]https://github.com/insanusmokrassar/TelegramBotAPI.git[push=]https://github.com/insanusmokrassar/TelegramBotAPI.git" + url = "https://github.com/insanusmokrassar/TelegramBotAPI.git" + } - scm { - developerConnection "scm:git:[fetch=]https://github.com/insanusmokrassar/TelegramBotAPI.git[push=]https://github.com/insanusmokrassar/TelegramBotAPI.git" - url "https://github.com/insanusmokrassar/TelegramBotAPI.git" - } + developers { + + developer { + id = "InsanusMokrassar" + name = "Ovsiannikov Aleksei" + email = "ovsyannikov.alexey95@gmail.com" + } + + } - developers { - - developer { - id "InsanusMokrassar" - name "Ovsiannikov Aleksei" - email "ovsyannikov.alexey95@gmail.com" - } - - } - - licenses { - - license { - name "Apache Software License 2.0" - url "https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE" - } - - } + licenses { + + license { + name = "Apache Software License 2.0" + url = "https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE" + } + } } } diff --git a/TelegramBotAPI/maven.publish.gradle b/TelegramBotAPI/maven.publish.gradle index 4b5c24a389..9dc4d90cfa 100644 --- a/TelegramBotAPI/maven.publish.gradle +++ b/TelegramBotAPI/maven.publish.gradle @@ -20,37 +20,33 @@ publishing { publications.all { artifact javadocsJar - pom.withXml { - asNode().children().last() + { - resolveStrategy = Closure.DELEGATE_FIRST + pom { + description = "Library for Object-Oriented and type-safe work with Telegram Bot API" + name = "Telegram Bot API" + url = "https://insanusmokrassar.github.io/TelegramBotAPI" - description "Library for Object-Oriented and type-safe work with Telegram Bot API" - name "Telegram Bot API" - url "https://insanusmokrassar.github.io/TelegramBotAPI" + scm { + developerConnection = "scm:git:[fetch=]https://github.com/insanusmokrassar/TelegramBotAPI.git[push=]https://github.com/insanusmokrassar/TelegramBotAPI.git" + url = "https://github.com/insanusmokrassar/TelegramBotAPI.git" + } - scm { - developerConnection "scm:git:[fetch=]https://github.com/insanusmokrassar/TelegramBotAPI.git[push=]https://github.com/insanusmokrassar/TelegramBotAPI.git" - url "https://github.com/insanusmokrassar/TelegramBotAPI.git" - } + developers { + + developer { + id = "InsanusMokrassar" + name = "Ovsiannikov Aleksei" + email = "ovsyannikov.alexey95@gmail.com" + } + + } - developers { - - developer { - id "InsanusMokrassar" - name "Ovsiannikov Aleksei" - email "ovsyannikov.alexey95@gmail.com" - } - - } - - licenses { - - license { - name "Apache Software License 2.0" - url "https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE" - } - - } + licenses { + + license { + name = "Apache Software License 2.0" + url = "https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE" + } + } } }