|
@@ -1,4 +1,5 @@
|
|
|
apply plugin: 'com.android.application'
|
|
|
+apply plugin: 'com.github.zellius.shortcut-helper'
|
|
|
|
|
|
android {
|
|
|
/*******************************************************
|
|
@@ -36,8 +37,6 @@ android {
|
|
|
|
|
|
versionCode 1700
|
|
|
versionName "1.7.0"
|
|
|
-
|
|
|
- setProperty("archivesBaseName", "vcmi")
|
|
|
}
|
|
|
|
|
|
sourceSets {
|
|
@@ -102,6 +101,9 @@ android {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+base.archivesName = "vcmi"
|
|
|
+shortcutHelper.filePath = "../shortcuts.xml"
|
|
|
+
|
|
|
def SigningPropertiesPath(final basePath, final signingConfigKey) {
|
|
|
return file("${basePath}/${signingConfigKey}.properties")
|
|
|
}
|
|
@@ -147,6 +149,9 @@ def LoadSigningConfig(final signingConfigKey) {
|
|
|
|
|
|
dependencies {
|
|
|
implementation fileTree(dir: '../libs', include: ['*.jar', '*.aar'])
|
|
|
- implementation 'androidx.annotation:annotation:1.7.1'
|
|
|
- implementation 'androidx.documentfile:documentfile:1.0.1'
|
|
|
+ implementation('androidx.annotation:annotation:1.9.1')
|
|
|
+
|
|
|
+ // later versions require API level 21
|
|
|
+ implementation('androidx.appcompat:appcompat:1.6.1')
|
|
|
+ implementation('androidx.documentfile:documentfile:1.0.1')
|
|
|
}
|