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/05/08 08:42:00 UTC
[jira] [Updated] (OFBIZ-10213) Update build.gradle to the latest
dependencies
[ 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 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.17.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.
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 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.
> 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
>
> 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.17.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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)