summaryrefslogtreecommitdiff
path: root/app/build.gradle.kts
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-10-16 20:48:11 +0530
committerGitHub <noreply@github.com>2020-10-16 17:18:11 +0200
commit6c1e41ba1050c92f4b615f7e857e0d085120a242 (patch)
tree5be0bc1e6c1a2afeda9ba9566c12a791302b7918 /app/build.gradle.kts
parent92f1aab25da12411aa256c3b763e0cb6182e9320 (diff)
Revamp build configuration (#1156)
* release: move scripts to scripts directory Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Move CI secrets to secrets directory Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * gradle: uprev to 6.7 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * gradle: suppress warnings about unsupported options Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: update dependencies Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: move Gradle plugins to ext Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: move configuration tasks to buildSrc Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * CHANGELOG: add entry for #1137 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Fix lint warnings Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/build.gradle.kts')
-rw-r--r--app/build.gradle.kts16
1 files changed, 7 insertions, 9 deletions
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index a5a3b4c9..150a16ef 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -6,7 +6,9 @@ import com.android.build.gradle.internal.api.BaseVariantOutputImpl
import java.util.Properties
plugins {
+ id("com.android.application")
kotlin("android")
+ `aps-plugin`
}
val keystorePropertiesFile = rootProject.file("keystore.properties")
@@ -26,13 +28,16 @@ android {
adbOptions.installOptions("--user 0")
- buildFeatures.viewBinding = true
- buildFeatures.buildConfig = true
+ buildFeatures {
+ viewBinding = true
+ buildConfig = true
+ }
defaultConfig {
applicationId = "dev.msfjarvis.aps"
versionCode = 11211
versionName = "1.13.0-SNAPSHOT"
+ testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
lintOptions {
@@ -41,13 +46,6 @@ android {
disable("MissingTranslation", "PluralsCandidate", "ImpliedQuantity")
}
- packagingOptions {
- exclude("**/*.version")
- exclude("**/*.txt")
- exclude("**/*.kotlin_module")
- exclude("**/plugin.properties")
- }
-
buildTypes {
named("release") {
isMinifyEnabled = true