You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2018/02/09 13:55:00 UTC

[jira] [Created] (OFBIZ-10213) Update build.gradle to the latest dependencies

Jacques Le Roux created OFBIZ-10213:
---------------------------------------

             Summary: 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


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 1823644)
+++ build.gradle	(copie de travail)
@@ -28,6 +28,7 @@
     }
     dependencies {
       classpath "at.bxm.gradleplugins:gradle-svntools-plugin:latest.release"
+      classpath 'com.github.ben-manes:gradle-versions-plugin:0.17.0'
     }
 }
 apply plugin: 'java'
@@ -34,6 +35,7 @@
 apply plugin: 'eclipse'
 apply plugin: 'maven-publish'
 apply plugin: "at.bxm.svntools"
+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.





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