mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
add support for gradle kotlin scripts
https://guides.gradle.org/migrating-build-logic-from-groovy-to-kotlin/ Closes fdroid/fdroidserver#613 cherry-picked from Bubu/fdroidserver@7d2e9f9c
This commit is contained in:
parent
3de2d0f56f
commit
9ae41cc1ff
5 changed files with 21 additions and 9 deletions
|
|
@ -299,7 +299,8 @@ def main():
|
|||
app.Categories = options.categories.split(',')
|
||||
if os.path.exists(os.path.join(subdir, 'jni')):
|
||||
build.buildjni = ['yes']
|
||||
if os.path.exists(os.path.join(subdir, 'build.gradle')):
|
||||
if os.path.exists(os.path.join(subdir, 'build.gradle')) \
|
||||
or os.path.exists(os.path.join(subdir, 'build.gradle')):
|
||||
build.gradle = ['yes']
|
||||
|
||||
package_json = os.path.join(build_dir, 'package.json') # react-native
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue