mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 07:02:51 +08:00
CB-8320: Setting up gradle so we can use CordovaLib as a standard Android Library
This commit is contained in:
parent
8983ddbdcc
commit
37309c23c2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user