Fix F-Droid build
Fixes the behaviour described in https://github.com/TeamNewPipe/NewPipe/pull/3265#issuecomment-612102349
This commit is contained in:
parent
b7ef60eedd
commit
d37b195708
|
@ -27,12 +27,6 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
|
||||||
minifyEnabled true
|
|
||||||
shrinkResources true
|
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
||||||
}
|
|
||||||
|
|
||||||
debug {
|
debug {
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
debuggable true
|
debuggable true
|
||||||
|
@ -50,6 +44,16 @@ android {
|
||||||
archivesBaseName = 'NewPipe_' + normalizedWorkingBranch
|
archivesBaseName = 'NewPipe_' + normalizedWorkingBranch
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Keep the release build type at the end of the list to override 'archivesBaseName' of
|
||||||
|
// debug build. This seems to be a Gradle bug, therefore
|
||||||
|
// TODO: update Gradle version
|
||||||
|
release {
|
||||||
|
minifyEnabled true
|
||||||
|
shrinkResources true
|
||||||
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||||
|
archivesBaseName = 'app'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
lintOptions {
|
lintOptions {
|
||||||
|
|
Loading…
Reference in New Issue