This is an automated email from the ASF dual-hosted git repository.

adamsaghy pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new d481ba61d FINERACT-1724  - GPG Service initialization is moved to 
step7 of the release script. This should reduce the build time and removes 
noise during normal (non release) builds.
d481ba61d is described below

commit d481ba61ded836ba08d37fc40eb0462d9b48159d
Author: Peter Bagrij <peter.bag...@dpc.hu>
AuthorDate: Sun Aug 20 19:43:47 2023 +0200

    FINERACT-1724
     - GPG Service initialization is moved to step7 of the release script. This 
should reduce the build time and removes noise during normal (non release) 
builds.
---
 .../src/main/groovy/org/apache/fineract/gradle/FineractPlugin.groovy   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/buildSrc/src/main/groovy/org/apache/fineract/gradle/FineractPlugin.groovy 
b/buildSrc/src/main/groovy/org/apache/fineract/gradle/FineractPlugin.groovy
index 305952da8..a75883d87 100644
--- a/buildSrc/src/main/groovy/org/apache/fineract/gradle/FineractPlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/fineract/gradle/FineractPlugin.groovy
@@ -66,7 +66,6 @@ class FineractPlugin implements Plugin<Project> {
             this.confluenceService = new 
ConfluenceService(extension.config.confluence)
             this.subversionService = new 
SubversionService(extension.config.subversion)
             this.emailService = new EmailService(extension.config.smtp)
-            this.gpgService = new GpgService(extension.config.gpg)
             this.gitService = new GitService(extension.config.git, 
extension.config.gpg)
             this.context = context(project)
         }
@@ -331,7 +330,7 @@ class FineractPlugin implements Plugin<Project> {
         project.tasks.register("fineractReleaseStep7") {
             doFirst {
                 FineractPluginExtension.FineractPluginStep step = 
step(extension, "step7")
-
+                gpgService = new GpgService(extension.config.gpg)
                 gpgService.sign(step.gpg)
 
                 step.gpg.files.findAll {

Reply via email to