diff --git a/app/build.gradle b/app/build.gradle
index 7d48f51f8..648e65cae 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -2,6 +2,7 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
+apply plugin: "de.timfreiheit.resourceplaceholders"
androidExtensions {
experimental = true
@@ -66,6 +67,9 @@ android {
}
}
+resourcePlaceholders {
+ files = ['xml/shortcuts.xml']
+}
kapt {
arguments {
diff --git a/app/src/debug/res/xml/shortcuts.xml b/app/src/debug/res/xml/shortcuts.xml
deleted file mode 100644
index f51f154cc..000000000
--- a/app/src/debug/res/xml/shortcuts.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/xml/shortcuts.xml b/app/src/main/res/xml/shortcuts.xml
index e3247442f..9c5ca598d 100644
--- a/app/src/main/res/xml/shortcuts.xml
+++ b/app/src/main/res/xml/shortcuts.xml
@@ -12,7 +12,7 @@
@@ -28,7 +28,7 @@
diff --git a/build.gradle b/build.gradle
index c6798862d..3c95124c7 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,17 +1,17 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
- ext.kotlin_version = '1.3.41'
+ ext.kotlin_version = '1.3.50'
repositories {
google()
jcenter()
maven { url 'https://maven.fabric.io/public' }
+ maven { url 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
+ classpath 'de.timfreiheit.resourceplaceholders:placeholders:0.3'
}
}