mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
remove "force_build_tools" config option, closes #738
The `force_build_tools` config option was added a long time ago to brute force the _build-tools_ version by trying to replace the value in `build.gradle` files. This is never something that should be used in production, since the app's build metadata should specify this kind of thing. And now that we're moving towards _androguard_ for everything except fdroid build and fdroid publish, _build-tools_ will no longer even be used in the other commands.
This commit is contained in:
parent
df6cf52009
commit
08f724651e
5 changed files with 0 additions and 29 deletions
|
|
@ -442,11 +442,6 @@ def build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, ext
|
|||
|
||||
gradletasks += ['assemble' + flavours_cmd + 'Release']
|
||||
|
||||
if config['force_build_tools']:
|
||||
force_gradle_build_tools(build_dir, config['build_tools'])
|
||||
for name, number, libpath in srclibpaths:
|
||||
force_gradle_build_tools(libpath, config['build_tools'])
|
||||
|
||||
cmd = [config['gradle']]
|
||||
if build.gradleprops:
|
||||
cmd += ['-P' + kv for kv in build.gradleprops]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue