1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-01-05 06:50:31 +00:00

TMP: temporary local gradle changes

This commit is contained in:
Profpatsch 2024-12-23 20:25:20 +01:00
parent c02fb89359
commit 16b372dece
2 changed files with 8 additions and 7 deletions

View File

@ -42,7 +42,7 @@ android {
// suffix the app id and the app name with git branch name // suffix the app id and the app name with git branch name
def workingBranch = getGitWorkingBranch() def workingBranch = getGitWorkingBranch()
def normalizedWorkingBranch = workingBranch.replaceFirst("^[^A-Za-z]+", "").replaceAll("[^0-9A-Za-z]+", "") def normalizedWorkingBranch = ""
if (normalizedWorkingBranch.isEmpty() || workingBranch == "master" || workingBranch == "dev") { if (normalizedWorkingBranch.isEmpty() || workingBranch == "master" || workingBranch == "dev") {
// default values when branch name could not be determined or is master or dev // default values when branch name could not be determined or is master or dev
applicationIdSuffix ".debug" applicationIdSuffix ".debug"
@ -168,7 +168,8 @@ afterEvaluate {
if (!System.properties.containsKey('skipFormatKtlint')) { if (!System.properties.containsKey('skipFormatKtlint')) {
preDebugBuild.dependsOn formatKtlint preDebugBuild.dependsOn formatKtlint
} }
preDebugBuild.dependsOn runCheckstyle, runKtlint, checkDependenciesOrder // preDebugBuild.dependsOn runCheckstyle,
preDebugBuild.dependsOn runKtlint, checkDependenciesOrder
} }
sonar { sonar {

View File

@ -4,11 +4,11 @@ include ':app'
// We assume, that NewPipe and NewPipe Extractor have the same parent directory. // We assume, that NewPipe and NewPipe Extractor have the same parent directory.
// If this is not the case, please change the path in includeBuild(). // If this is not the case, please change the path in includeBuild().
//includeBuild('../NewPipeExtractor') { includeBuild('../NewPipeExtractor') {
// dependencySubstitution { dependencySubstitution {
// substitute module('com.github.TeamNewPipe:NewPipeExtractor') using project(':extractor') substitute module('com.github.TeamNewPipe:NewPipeExtractor') using project(':extractor')
// } }
//} }
includeBuild('../NewPlayer') { includeBuild('../NewPlayer') {