From 37309c23c276ad84c1b41ed4e476b644abf0975f Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Wed, 22 Jul 2015 13:23:16 -0700 Subject: [PATCH] CB-8320: Setting up gradle so we can use CordovaLib as a standard Android Library --- framework/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/framework/build.gradle b/framework/build.gradle index 2565633f..57ef3c44 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