Commit Graph

23 Commits

Author SHA1 Message Date
Jorge Martin Espinosa 58c05ade65 Try fixing OOM by changing GC and adding RAM to the kotlin compiler (#2965)
* Try fixing OOM by changing GC and adding RAM to the kotlin compiler

* Add gradle cache to build apk job in maestro flow.

- Remove unnecessary dependency in `:features:call` module.

* Fix sonar in nightly reports

* Bump heap size of nightly reports
2024-06-03 11:28:51 +02:00
Jorge Martin Espinosa f03818f413 Restore legacy shrinking configuration for AGP 8.4.x (#2867)
* Restore legacy shrinking configuration for AGP `8.4.x`

The current one is causing issues with release builds and no changes in proguard rules seem to fix them.

Co-authored-by: Benoit Marty <benoit@matrix.org>

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-05-17 11:08:34 +02:00
renovate[bot] 87bd3eecba Update android.gradle.plugin to v8.4.0 (#2777)
* Update android.gradle.plugin to v8.4.0

* Update `android.experimental.lint.version` to `8.5.0-alpha07`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-05-15 11:07:36 +02:00
renovate[bot] 8a6020c5a6 Update android.gradle.plugin to v8.3.1 (#2471)
* Update android.gradle.plugin to v8.3.1

* Fix AGP update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-03-21 09:47:17 +01:00
Jorge Martín 0309223a32 Only apply dependencyanalysis plugin to some modules 2023-12-28 17:06:05 +01:00
Benoit Marty ac940fb5a0 Upgrade lint to 8.3.0-alpha12 2023-11-10 15:52:53 +01:00
Benoit Marty 5de8841d96 Upgrade lint to version 8.3.0-alpha11 and suppress false positive. 2023-11-06 16:03:16 +01:00
Jorge Martin Espinosa 1f5a135072 Use Parallel GC and bump RAM usage (#1734)
* Use Parallel GC and bump RAM usage

* Build only `app` project in `Build APKs (debug)` flow.

* Remove redundant JNA dependency
2023-11-03 10:34:49 +01:00
Marco Romano aa29efcd76 Remove suppressUnsupportedCompileSdk
We're now an AGP 8.1.0 so should be safe to remove as per the comment.
2023-09-15 09:20:51 +02:00
Marco Romano 6e55f2d777 org.gradle.jvmargs=-Xmx4g (#1087)
I have to do it locally every time i checkout a branch. Perhaps it's best if we push this to origin.
2023-08-18 10:29:25 +02:00
Jorge Martin Espinosa 0324719606 Upgrade compose-material3 to 1.2.0-alpha05 version (#1011)
Co-authored-by: ElementBot <benoitm+elementbot@element.io>

Also upgrade compileSdk to 34.
2023-08-17 14:20:54 +02:00
ganfra 37b65697c8 Disable kotlin incremental compilation for now, waiting for better 2023-06-08 15:11:44 +02:00
Benoit Marty 845d51486f Upgrade version of lint from 8.0.0 to 8.2.0-alpha02 (latest).
Fix warning:
WARNING: The build will use lint version 8.0.0 which is older than the default.
Recommendation: Remove or update the gradle property android.experimental.lint.version to be at least 8.0.1
2023-05-09 10:59:21 +02:00
Jorge Martin Espinosa de010545fb Update Gradle to 8.1 and AGP to v8.0 (#329)
* Update AGP to 8.0.0.

* Set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var.

* Upgrade to Gradle 8.1.

* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 08:49:52 +00:00
Jorge Martin Espinosa 610e4aa8b6 Revert "Update Gradle and AGP to v8.0 (#283)" (#295)
This reverts commit cda0606a0d.
2023-04-04 14:44:01 +00:00
Jorge Martin Espinosa cda0606a0d Update Gradle and AGP to v8.0 (#283)
* Update dependency gradle to v8

* Handle upgrading Gradle to v8.0.2

* Update AGP to 8.0.0-RC01

* Try to set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 18:02:34 +02:00
Benoit Marty feac348c89 Enable testFixtures - but not supported by AGP yet, so put files in module matrixtest 2023-02-07 10:36:29 +01:00
ganfra 90b0a60a5c Gradle config: add some config to make it faster. 2023-01-24 17:39:15 +01:00
Benoit Marty 9f99f7da67 Use more recent lint version to fix lint false positive. 2023-01-18 16:37:00 +01:00
Benoit Marty 19301756e3 Add missing Copyright 2022-12-22 13:51:56 +01:00
Benoit Marty a413b635d1 Format project 2022-12-09 12:06:37 +01:00
Benoit Marty db1cdbfbd4 Setup nighlty build + GitHub action 2022-11-23 15:11:27 +01:00
Benoit Marty 4dc26a4ffa Create project from AS wizard "Empty Compose Activity (Material 3)" 2022-10-07 15:05:13 +02:00