mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 15:12: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'
|
apply plugin: 'android-library'
|
||||||
|
|
||||||
|
ext {
|
||||||
|
apply from: 'cordova.gradle'
|
||||||
|
cdvCompileSdkVersion = privateHelpers.getProjectTarget()
|
||||||
|
cdvBuildToolsVersion = privateHelpers.findLatestInstalledBuildTools()
|
||||||
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion cdvCompileSdkVersion
|
compileSdkVersion cdvCompileSdkVersion
|
||||||
buildToolsVersion cdvBuildToolsVersion
|
buildToolsVersion cdvBuildToolsVersion
|
||||||
|
Loading…
Reference in New Issue
Block a user