From b72a174edf29e636908076dad459a6c024fa74c0 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Tue, 9 Aug 2022 14:33:02 +0100 Subject: [PATCH] lifting nightly to the application module --- vector-app/build.gradle | 4 ++++ {vector => vector-app}/src/nightly/res/xml/shortcuts.xml | 0 vector/build.gradle | 8 -------- 3 files changed, 4 insertions(+), 8 deletions(-) rename {vector => vector-app}/src/nightly/res/xml/shortcuts.xml (100%) diff --git a/vector-app/build.gradle b/vector-app/build.gradle index 235c92cfc5..5f039dfbd5 100644 --- a/vector-app/build.gradle +++ b/vector-app/build.gradle @@ -340,6 +340,10 @@ android { "-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi", ] } + + buildFeatures { + viewBinding true + } } dependencies { diff --git a/vector/src/nightly/res/xml/shortcuts.xml b/vector-app/src/nightly/res/xml/shortcuts.xml similarity index 100% rename from vector/src/nightly/res/xml/shortcuts.xml rename to vector-app/src/nightly/res/xml/shortcuts.xml diff --git a/vector/build.gradle b/vector/build.gradle index a5538053fc..0e9e03f31a 100644 --- a/vector/build.gradle +++ b/vector/build.gradle @@ -66,10 +66,6 @@ android { testCoverageEnabled = coverage.enableTestCoverage } } - nightly { - initWith release - matchingFallbacks = ['release'] - } release } @@ -111,10 +107,6 @@ android { test { java.srcDirs += "src/sharedTest/java" } - // Add sourceSets for `release` version when building `nightly` - nightly { - java.srcDirs += "src/release/java" - } } buildFeatures {