Commit graph

22 commits

Author SHA1 Message Date
Alexander Bakker
004cfbed4e Update dependencies and enable dependency verification in Gradle
Here's another attempt to enable Gradle dependency verification. I've
tried to do this a couple of times before, but always ran into issues.
With a helper script borrowed from a different project, hopefully this
will finally work reliably.

Every time we update Gradle or a dependency, the script I mentioned
needs to be run to update the list of checksums. The script runs the
build, the tests and the instrumented tests. This is necessary
because apparently Gradle is not able to discover all dependencies
without actually running the build tasks.

It's a little bit annoying that this Gradle feature is so half-baked
that we need a helper script to make things work, but I think it's worth
it.
2024-04-07 13:14:46 +02:00
Alexander Bakker
98bcdc7615 Update Gradle and dependencies 2023-12-27 17:51:56 +01:00
Alexander Bakker
3278d6544b Update dependencies 2023-08-30 14:26:12 +02:00
Michael Schättgen
3ff242e6b6 Add ability to change copy behavior 2023-08-20 15:51:32 +02:00
Alexander Bakker
b6bfc5b15f Update Gradle and dependencies 2023-03-01 13:49:01 +01:00
Alexander Bakker
4198ca3bb7 Update Gradle 2022-10-09 12:51:06 +02:00
Alexander Bakker
f73a64acd6 Update gradle and dependencies 2022-08-03 20:38:10 +02:00
Alexander Bakker
d0c8c5fae4 Update Gradle and dependencies 2022-04-09 18:28:15 +02:00
AJ Jordan
fbc390b714 Upgrade to Gradle/Gradle Android plugin 7.x
Additionally, enable some more linting (per the Android plugin release
notes' recommendation) and fix a lint warning.
2021-10-20 12:07:24 -07:00
Alexander Bakker
813bf292fa Update dependencies 2021-05-08 10:10:08 +02:00
Ewout ter Hoeven
993b29bd83
Gradle: Update wrapper and scripts to 6.8.3 2021-05-04 21:59:25 +02:00
Alexander Bakker
d660fbc6d1 Update Gradle and dependencies 2020-08-12 12:54:13 +02:00
Sage Pointer
a25dbc5cdd Add desugaring for Android < 7 compatibility 2020-07-12 18:09:50 +02:00
Alexander Bakker
56bde0e19b Add support for importing from the new Google Authenticator export QR codes 2020-05-11 14:02:59 +02:00
Michael Schättgen
3e626a37db Add AboutActivity
Add DialogStyles for different themes

Add review fixes

Remove unused usings
2019-09-07 12:49:31 +02:00
Alexander Bakker
2323d89938 Introduce UUIDMap for storing objects that are keyed by a UUID
This patch introduces the new ``UUIDMap`` type, reducing code duplication and
making UUID lookups faster. We currently already use UUIDs as the identifier for
the ``DatabaseEntry`` and ``Slot`` types, but the way lookups by UUID work are
kind of ugly, as we simply iterate over the list until we find a match. As we're
probably going to have more types like this soon (groups and icons, for
example), I figured it'd be good to abstract this away into a separate type and
make it a map instead of a list.

The only thing that has gotten slower is the ``swap`` method. The internal
``LinkedHashMap`` retains insertion order with a linked list, but does not know
about the position of the values, so we basically have to copy the entire map to
simply swap two values. I don't think it's too big of a deal, because swap
operations still take less than a millisecond even with large vaults, but
suggestions for improving this are welcome.

I had to update gradle and JUnit to be able to use the new ``assertThrows``
assertion method, so this patch includes that as well.
2019-08-03 17:50:25 +02:00
Alexander Bakker
b036eb178b Update gradle 2019-02-26 19:35:03 +01:00
Michael Schättgen
2152e2617f Migrated project to AndroidX 2018-09-25 16:26:57 +02:00
Alexander Bakker
4cd87b0452 Update dependencies
And make the isRunning function in AegisApplication a little easier to read
2018-05-08 20:13:27 +02:00
Alexander Bakker
7d5bd8f812 Add a project for a cli application and update dependencies 2017-12-11 13:29:56 +01:00
Michael Schättgen
f11145ce95 Added ImageDrawable to listview 2016-08-21 21:55:04 +02:00
Impyy
c0219fbc35 Initial commit 2016-08-15 21:29:41 +02:00