hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: svn commit: r1577916 - /httpcomponents/httpclient-android/branches/4.3.3-android/build.gradle
Date Sun, 16 Mar 2014 00:48:11 GMT
On 15 March 2014 19:02,  <olegk@apache.org> wrote:
> Author: olegk
> Date: Sat Mar 15 19:02:44 2014
> New Revision: 1577916
>
> URL: http://svn.apache.org/r1577916
> Log:
> Added gradle tasks to build src archives
>
> Modified:
>     httpcomponents/httpclient-android/branches/4.3.3-android/build.gradle
>
> Modified: httpcomponents/httpclient-android/branches/4.3.3-android/build.gradle
> URL: http://svn.apache.org/viewvc/httpcomponents/httpclient-android/branches/4.3.3-android/build.gradle?rev=1577916&r1=1577915&r2=1577916&view=diff
> ==============================================================================
> --- httpcomponents/httpclient-android/branches/4.3.3-android/build.gradle (original)
> +++ httpcomponents/httpclient-android/branches/4.3.3-android/build.gradle Sat Mar 15
19:02:44 2014
> @@ -186,6 +186,38 @@ def askCredentials(MavenDeployer mavenDe
>      }
>  }
>
> +project.ext.archiveSources = copySpec {
> +    from (project.projectDir) {
> +        include 'src/**'
> +        include '*.txt'
> +        include 'build.gradle'
> +        include 'settings.gradle'
> +        include 'gradle.properties'
> +    }
> +}
> +
> +task archiveSrcWin(type: Zip) {
> +    with archiveSources
> +    filter(['eol': org.apache.tools.ant.filters.FixCrLfFilter.CrLf.newInstance('crlf')],
> +           org.apache.tools.ant.filters.FixCrLfFilter)
> +    into "httpcomponents-client-android-$project.version"
> +    classifier = 'scr'

That looks wrong - should it be 'src' ?

> +    baseName = 'httpcomponents-client-android'
> +    version = project.version
> +}
> +
> +task archiveSrcUnix(type: Tar) {
> +    with archiveSources
> +    into "httpcomponents-client-android-$project.version"
> +    filter(['eol': org.apache.tools.ant.filters.FixCrLfFilter.CrLf.newInstance('lf')],
> +            org.apache.tools.ant.filters.FixCrLfFilter)
> +    classifier = 'scr'

Ditto

> +    baseName = 'httpcomponents-client-android'
> +    version = project.version
> +    extension = 'tar.gz'
> +    compression = Compression.GZIP
> +}
> +
>  task uploadDist(type: Upload) {
>      configuration = configurations.dist
>      repositories {
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message