mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-23 15:30:14 -04:00
58 lines
1.4 KiB
Groovy
58 lines
1.4 KiB
Groovy
ext {
|
|
cordovaAndroidVersion = project.hasProperty('cordovaAndroidVersion') ? rootProject.ext.cordovaAndroidVersion : '7.0.0'
|
|
}
|
|
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:4.0.0'
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 29
|
|
defaultConfig {
|
|
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 21
|
|
targetSdkVersion targetSdkVersion = project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 29
|
|
versionCode 1
|
|
versionName "1.0"
|
|
}
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
mavenCentral()
|
|
flatDir{
|
|
dirs 'src/main/libs', 'libs'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'src/main/libs', include: ['*.jar'])
|
|
implementation "org.apache.cordova:framework:$cordovaAndroidVersion"
|
|
// SUB-PROJECT DEPENDENCIES START
|
|
|
|
// SUB-PROJECT DEPENDENCIES END
|
|
}
|
|
|
|
// PLUGIN GRADLE EXTENSIONS START
|
|
apply from: "cordova.variables.gradle"
|
|
// PLUGIN GRADLE EXTENSIONS END
|
|
|
|
for (def func : cdvPluginPostBuildExtras) {
|
|
func()
|
|
}
|