You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by wf...@apache.org on 2013/12/18 22:53:50 UTC

git commit: Add 'about' and 'versions' gradle plugins.

Updated Branches:
  refs/heads/master 3f65a46be -> f9739cc10


Add 'about' and 'versions' gradle plugins.

The about plugin [1] includes an about.txt file, containing build environment information, in generated jars.

The versions plugin [2] reports on the freshness of our dependencies.

[1] http://evgeny-goldin.com/wiki/Gradle-about-plugin
[2] https://github.com/ben-manes/gradle-versions-plugin

Reviewed at https://reviews.apache.org/r/16343/


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/f9739cc1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/f9739cc1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/f9739cc1

Branch: refs/heads/master
Commit: f9739cc10ad3717a34483903bea77201b9bdd5d1
Parents: 3f65a46
Author: Bill Farner <wf...@apache.org>
Authored: Wed Dec 18 13:52:17 2013 -0800
Committer: Bill Farner <bi...@twitter.com>
Committed: Wed Dec 18 13:52:17 2013 -0800

----------------------------------------------------------------------
 build.gradle | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/f9739cc1/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 9d67d14..92c42ce 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,8 +1,20 @@
+apply plugin: 'about'
 apply plugin: 'application'
 apply plugin: 'checkstyle'
 apply plugin: 'idea'
 apply plugin: 'java'
 apply plugin: 'maven-publish'
+apply plugin: 'versions'
+
+buildscript {
+  repositories {
+    mavenCentral()
+  }
+  dependencies {
+    classpath 'com.github.ben-manes:gradle-versions-plugin:0.4'
+    classpath 'com.github.goldin.plugins.gradle:about:0.3.1'
+  }
+}
 
 buildDir = 'dist'
 def generatedDir = "$buildDir/generated-src"
@@ -85,6 +97,7 @@ sourceSets {
  */
 
 jar {
+  dependsOn 'about'
   from sourceSets.generated.output
 }