hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1579245 - /httpcomponents/httpclient-android/trunk/src/main/resources/build.gradle
Date Wed, 19 Mar 2014 14:45:58 GMT
Author: olegk
Date: Wed Mar 19 14:45:58 2014
New Revision: 1579245

URL: http://svn.apache.org/r1579245
Log:
Added doc title and copyright notice to javadocs

Modified:
    httpcomponents/httpclient-android/trunk/src/main/resources/build.gradle

Modified: httpcomponents/httpclient-android/trunk/src/main/resources/build.gradle
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient-android/trunk/src/main/resources/build.gradle?rev=1579245&r1=1579244&r2=1579245&view=diff
==============================================================================
--- httpcomponents/httpclient-android/trunk/src/main/resources/build.gradle (original)
+++ httpcomponents/httpclient-android/trunk/src/main/resources/build.gradle Wed Mar 19 14:45:58
2014
@@ -47,6 +47,8 @@ version = HC_VER
 
 ext.isRelease = !version.endsWith('-SNAPSHOT')
 
+ext.inceptionYear = '1999'
+
 android {
 
     compileSdkVersion 17
@@ -117,6 +119,13 @@ android.libraryVariants.all { variant ->
             dependsOn variant.javaCompile
             source = variant.javaCompile.source
             classpath = files(android.plugin.runtimeJarList, variant.javaCompile.classpath.files)
+            title "Apache HttpClient for Android $HC_VER API"
+            configure (options) {
+                docTitle "Apache HttpClient for Android $HC_VER API"
+                bottom "Copyright © ${inceptionYear}-${Calendar.instance.get(Calendar.YEAR)}
" +
+                        "<a href=\"http://www.apache.org/\">The Apache Software Foundation</a>.
" +
+                        "All rights reserved."
+            }
         }
 
         task createAndroidJavadocJar(type: Jar) {



Mime
View raw message