ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OFBIZ-10213) Update build.gradle to the latest dependencies
Date Thu, 11 Apr 2019 09:28:00 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-10213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jacques Le Roux updated OFBIZ-10213:
------------------------------------
    Description: 
We want to check from time to time if we need to update the dependencies. 

It's easily done with the [gradle-versions-plugin |https://github.com/ben-manes/gradle-versions-plugin]
which analyzes the dependencies and checks if there are newer versions available.

Running the check with
{code:java}
gradlew -PenableDependencyUpdates dependencyUpdates -Drevision=release
{code}

We get a list of dependencies to update. This is an umbrella task for action tasks.

  was:
We want to check from time to time if we need to update the dependencies. 

It's easyly done with the [gradle-versions-plugin |https://github.com/ben-manes/gradle-versions-plugin]
which analyzes the dependencies and checks if there are newer versions available.

Using this patch
{code}
Index: build.gradle
===================================================================
--- build.gradle    (révision 1831078)
+++ build.gradle    (copie de travail)
@@ -33,6 +33,7 @@
         classpath 'org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.16'
         // asciidoctorj-pdf bug workaround - override jruby. See OFBIZ-9873
         classpath 'org.jruby:jruby-complete:9.1.13.0'
+        classpath 'com.github.ben-manes:gradle-versions-plugin:0.20.0'
     }
 }
 apply plugin: 'java'
@@ -40,6 +41,7 @@
 apply plugin: 'maven-publish'
 apply plugin: "at.bxm.svntools"
 apply plugin: 'org.asciidoctor.convert'
+apply plugin: 'com.github.ben-manes.versions'
 
 apply from: 'common.gradle'
 {code}

And running the check with
{code:java}
./gradlew dependencyUpdates -Drevision=release
{code}

We get a list of dependencies to update. This is an umbrella task for action tasks.




> Update build.gradle to the latest dependencies
> ----------------------------------------------
>
>                 Key: OFBIZ-10213
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10213
>             Project: OFBiz
>          Issue Type: Task
>          Components: Gradle
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Priority: Trivial
>         Attachments: OFBIZ-10213.patch
>
>
> We want to check from time to time if we need to update the dependencies. 
> It's easily done with the [gradle-versions-plugin |https://github.com/ben-manes/gradle-versions-plugin]
which analyzes the dependencies and checks if there are newer versions available.
> Running the check with
> {code:java}
> gradlew -PenableDependencyUpdates dependencyUpdates -Drevision=release
> {code}
> We get a list of dependencies to update. This is an umbrella task for action tasks.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message