aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wfar...@apache.org
Subject git commit: Add 'about' and 'versions' gradle plugins.
Date Wed, 18 Dec 2013 21:53:50 GMT
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 <wfarner@apache.org>
Authored: Wed Dec 18 13:52:17 2013 -0800
Committer: Bill Farner <bill@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
 }
 


Mime
View raw message