diff --git a/app/build.gradle.kts b/app/build.gradle.kts index ffb7396dc2..d8c5fce66f 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -373,16 +373,10 @@ android { } create("nightly") { - val apkUpdateManifestUrl = if (file("${project.rootDir}/nightly-url.txt").exists()) { - file("${project.rootDir}/nightly-url.txt").readText().trim() - } else { - "" - } - dimension = "distribution" versionNameSuffix = "-nightly-untagged-${getDateSuffix()}" - buildConfigField("boolean", "MANAGES_APP_UPDATES", "true") - buildConfigField("String", "APK_UPDATE_MANIFEST_URL", "\"${apkUpdateManifestUrl}\"") + buildConfigField("boolean", "MANAGES_APP_UPDATES", "false") + buildConfigField("String", "APK_UPDATE_MANIFEST_URL", "null") buildConfigField("String", "BUILD_DISTRIBUTION_TYPE", "\"nightly\"") buildConfigField("boolean", "LINK_DEVICE_UX_ENABLED", "true") } @@ -676,14 +670,6 @@ tasks.withType().configureEach { } } -gradle.taskGraph.whenReady { - if (gradle.startParameter.taskNames.any { it.contains("nightly", ignoreCase = true) }) { - if (!file("${project.rootDir}/nightly-url.txt").exists()) { - throw GradleException("Missing required file: nightly-url.txt") - } - } -} - fun assertIsGitRepo() { if (!file("${project.rootDir}/.git").exists()) { throw IllegalStateException("Must be a git repository to guarantee reproducible builds! (git hash is part of APK)") diff --git a/app/src/nightly/AndroidManifest.xml b/app/src/nightly/AndroidManifest.xml deleted file mode 100644 index 613e309f7f..0000000000 --- a/app/src/nightly/AndroidManifest.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file