You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2014/07/31 10:49:18 UTC
svn commit: r1614831 -
/httpcomponents/httpclient-android/trunk/src/main/resources/build.gradle
Author: olegk
Date: Thu Jul 31 08:49:18 2014
New Revision: 1614831
URL: http://svn.apache.org/r1614831
Log:
Upgraded build script to the latest DEV release of Android Studio 0.8.0
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=1614831&r1=1614830&r2=1614831&view=diff
==============================================================================
--- httpcomponents/httpclient-android/trunk/src/main/resources/build.gradle (original)
+++ httpcomponents/httpclient-android/trunk/src/main/resources/build.gradle Thu Jul 31 08:49:18 2014
@@ -30,11 +30,11 @@ buildscript {
mavenCentral()
}
dependencies {
- classpath 'com.android.tools.build:gradle:0.7.3+'
+ classpath 'com.android.tools.build:gradle:0.12.2'
}
}
-apply plugin: 'android-library'
+apply plugin: 'com.android.library'
apply plugin: 'maven'
apply plugin: 'signing'
@@ -52,7 +52,7 @@ ext.inceptionYear = '1999'
android {
compileSdkVersion 17
- buildToolsVersion "19.0.1"
+ buildToolsVersion "19.1.0"
defaultConfig {
minSdkVersion 8
@@ -118,7 +118,7 @@ android.libraryVariants.all { variant ->
task createAndroidJavadoc(type: Javadoc) {
dependsOn variant.javaCompile
source = variant.javaCompile.source
- classpath = files(android.plugin.runtimeJarList, variant.javaCompile.classpath.files)
+ classpath = files(android.plugin.bootClasspath, variant.javaCompile.classpath.files)
title "Apache HttpClient for Android $HC_VER API"
configure (options) {
docTitle "Apache HttpClient for Android $HC_VER API"
@@ -195,6 +195,16 @@ 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')],