1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-23 03:11:30 +00:00
Commit graph

15 commits

Author SHA1 Message Date
Adam Szewera
9ed273a32e
Refactor groovy gradle files to kotlin dsl (#2022)
## Description:
Refactor gradle build files to use Kotlin DSL instead of Groovy.
There were also a bash script and a python script that needed to be
updated because they relied on parsing the `build.gradle` files written
in Groovy.

This PR completes the work started in:
https://github.com/syncthing/syncthing-android/pull/2000
2023-12-28 22:37:27 +01:00
Simon Frei
83ef8dcf2d
And don't use any slahses in path components 2022-11-27 22:32:07 +01:00
Simon Frei
c9ea58cfca
Use os.path.join for CC 2022-11-27 22:17:31 +01:00
Simon Frei
373558b2ec
Fix c compiler (CC env) (ref #1864)
Fixes 2942072594
2022-11-27 21:53:21 +01:00
Simon Frei
2942072594
Compile and target SDK version 31, increase min Sdk to 21 (#1864)
The upgraded compile SDK requires an upgrade of gradle, which introduces a
build error with api lvl <21:
   > Error while processing [...]/app/src/main/res/drawable/ic_close_24dp.xml :
     Invalid color value ?attr/colorControlNormal
Explanation: https://stackoverflow.com/a/49501629

Also minor NDK update
2022-11-27 20:27:54 +01:00
Simon Frei
abbe8afd2d
Set ndk path automatically in gradle (#1741) 2021-12-08 10:55:50 +01:00
Audrius Butkevicius
14ecc39b9a
Update NDK (#1695)
* Updated Syncthing to v1.18.3-rc.1

* Allow building on windows

* Update NDK

* Revert "Updated Syncthing to v1.18.3-rc.1"

This reverts commit 377482c855.
2021-09-17 23:47:53 +01:00
Simon Frei
b03c7d4ded
Containers and build process improvements/fixes (#1602)
- Use ndk 21 due to Go bug: https://github.com/golang/go/issues/42655
- Use pre-built clang binaries instead of building ourselves
- Build syncthing when creating container to prepopulate modules
2021-02-03 10:45:54 +01:00
Simon Frei
03d2f677b2
Fix docker prebuild script for amd64/x86_64 (#1441) 2019-11-05 14:09:08 +01:00
Simon Frei
c7b433bc65
build x86_64 binary to accomodate google play (#1430) 2019-11-05 11:02:24 +01:00
Simon Frei
32119af039
Remove go mod download as part of build (#1395) 2019-09-05 18:08:02 +02:00
Simon Frei
b2df80cf27
also persist go pkgs on docker image 2019-09-05 17:25:15 +02:00
Simon Frei
462a013ae2 Fast forward master to current release branch (#1282)
* Bump version number

* Restore modules

* Bump version

* Revert "Disable HTTPS (fixes #1255)"

This reverts commit 1f82ec0fc6.

* Bump version
2019-02-26 19:49:57 +00:00
Audrius Butkevicius
9796d7beb1
Fix builds with Go 1.10 onwards (#1265) 2019-01-11 23:11:42 +00:00
Audrius Butkevicius
988bbb0893
Move build script to python (#1184) 2018-07-18 00:17:58 +01:00