You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2015/07/22 22:23:32 UTC

android commit: CB-8320: Setting up gradle so we can use CordovaLib as a standard Android Library

Repository: cordova-android
Updated Branches:
  refs/heads/master 8983ddbdc -> 37309c23c


CB-8320: Setting up gradle so we can use CordovaLib as a standard Android Library


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/37309c23
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/37309c23
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/37309c23

Branch: refs/heads/master
Commit: 37309c23c276ad84c1b41ed4e476b644abf0975f
Parents: 8983ddb
Author: Joe Bowser <bo...@apache.org>
Authored: Wed Jul 22 13:23:16 2015 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Wed Jul 22 13:23:28 2015 -0700

----------------------------------------------------------------------
 framework/build.gradle | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/37309c23/framework/build.gradle
----------------------------------------------------------------------
diff --git a/framework/build.gradle b/framework/build.gradle
index 2565633..57ef3c4 100644
--- a/framework/build.gradle
+++ b/framework/build.gradle
@@ -44,6 +44,12 @@ buildscript {
 
 apply plugin: 'android-library'
 
+ext {
+    apply from: 'cordova.gradle'
+    cdvCompileSdkVersion = privateHelpers.getProjectTarget()
+    cdvBuildToolsVersion = privateHelpers.findLatestInstalledBuildTools()
+}
+
 android {
     compileSdkVersion cdvCompileSdkVersion
     buildToolsVersion cdvBuildToolsVersion


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org