aboutsummaryrefslogtreecommitdiffstats
path: root/passgen
AgeCommit message (Collapse)AuthorFilesLines
18 hoursbuild: update to Gradle 9.8.2, AGP 9.5.0, Kotlin 2.4.21, Hilt 2.60.1Danilo M.1-1/+3
AGP 9 migration: - Configure the shared Android setup through the new DSL (CommonExtension, ApplicationExtension) instead of the removed TestedExtension and BaseAppModuleExtension; targetSdk moves to the application extension. - Stop applying the Kotlin Android plugin; AGP 9 compiles Kotlin itself. - Replace kapt with KSP 2.3.13 for Hilt, which built-in Kotlin requires, and carry the Dagger compiler options over as KSP arguments. - AGP 9 now applies packaging excludes to unit-test resources, which stripped the diceware word list (**/*.txt) from its tests; lift that exclude in the diceware module. - Use resources.directories instead of the deprecated srcDir. Plugin updates required by Gradle 9 / AGP 9: Sentry Gradle plugin 6.25.0 (sentry-android 8.62.0), metalava plugin 0.5.1, maven-publish 0.37.0, spotless 8.10.4, version-catalog-update 1.1.2, download task 5.7.0, foojay resolver 1.0.0, with their API changes. Newer metalava models Kotlin properties, so autofill-parser/api.txt is regenerated; the diff is representation only, no API was added or removed. Fix new Kotlin 2.4 and lint findings (explicit return type in a function with an early return, UseKtx in autofill-parser), drop deprecated Kotlin Gradle properties, and make the AGENTS.md pre-commit command cover every task CI runs (both flavors, lint on all modules). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 hoursbuild: update to Gradle 8.14.6, AGP 8.13.2, Kotlin 2.1.21, Hilt 2.58Danilo M.1-1/+1
Newest releases that still fit together on the Gradle 8 / AGP 8 line: - Kotlin stops at 2.1, the newest metadata Gradle 8's embedded Kotlin 2.0 compiler can read when compiling build-logic. - Hilt stops at 2.58; 2.59 and later require AGP 9. Hilt 2.52's annotation processor could not read Kotlin 2.1 metadata. Drop the languageVersion = 1.9 pin so code compiles with the K2 frontend; Kotlin 2.4 no longer accepts 1.9. Drop the R8 8.5.35 pin and its repository, which is older than the R8 AGP 8.13 bundles. Move the deprecated buildFeatures.androidResources flag to androidResources.enable, and replace Uri.parse with toUri for the new UseKtx lint check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2024-09-03fix(deps): update dependency com.android.tools.build:gradle to v8.6.0 (#3192)renovate[bot]2-2/+2
* fix(deps): update dependency com.android.tools.build:gradle to v8.6.0 * chore: regenerate Lint baselines --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2024-08-14chore: add missing copyright headers and update existing onesHarsh Shandilya17-15/+30
2024-06-14fix(deps): update dependency com.android.tools.build:gradle to v8.5.0 (#3094)renovate[bot]2-2/+2
* fix(deps): update dependency com.android.tools.build:gradle to v8.5.0 * chore: refresh Lint baseline --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2024-05-28chore: reformat with trailing commas changesHarsh Shandilya5-15/+5
2024-02-04Sync localisations from Crowdin (#2888)Harsh Shandilya2-2/+2
* strings: sync with crowdin * chore: refresh Lint baseline --------- Co-authored-by: GitHub Actions <noreply@github.com>
2023-11-27fix(deps): upgrade to JGit 4.5.7.201904151645-rHarsh Shandilya2-2/+2
Currently requires deleting and re-cloning the repository to properly detect symlink support, this will be fixed in the future to auto-detect on existing repositories as well. Fixes #2594 Fixes #2396 Fixes #636 Fixes #387 Fixes #98
2023-09-27fix(deps): update dependency com.slack.lint:slack-lint-checks to v0.6.0 (#2697)renovate[bot]3-3/+3
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2023-08-30fix(deps): update dependency org.pgpainless:pgpainless-core to v1.6.2 (#2667)renovate[bot]2-13/+2
* fix(deps): update dependency org.pgpainless:pgpainless-core to v1.6.2 * fix(deps): use `-jdk18on` artifacts for BouncyCastle * chore: re-roll Lint baseline --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2023-07-31fix(deps): update bouncycastle to v1.76 (#2632)renovate[bot]2-2/+2
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2023-07-19chore: remove useless `OptIn` annotationsHarsh Shandilya1-1/+0
2023-06-15feat: adopt Kotlin 1.9 Enum entries featureHarsh Shandilya1-1/+2
2023-06-15fix: address `ComposeUnstableCollections` lintHarsh Shandilya2-2/+2
2023-06-04chore: refresh lint baselineHarsh Shandilya2-2/+2
2023-05-20refactor(build): sync Gradle properties set with current AGPHarsh Shandilya1-1/+2
2023-04-29fix(deps): update dependency com.facebook:ktfmt to v0.44 (#2490)renovate[bot]2-3/+2
* fix(deps): update dependency com.facebook:ktfmt to v0.44 * chore: reformat with ktfmt 0.44 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2023-04-27feat(lint): update baselinesHarsh Shandilya2-8/+16
2023-04-27refactor(build): introduce a standalone plugin for Kotlin JVM librariesHarsh Shandilya1-2/+1
2023-04-27refactor(build): remove `kotlin-library` plugin from Android modulesHarsh Shandilya1-1/+0
2023-03-21fix(build): remove `DSL_SCOPE_VIOLATION` suppressionHarsh Shandilya2-4/+0
This was a Gradle bug that is now fixed https://docs.gradle.org/8.1-rc-1/release-notes.html#:~:text=Access%20to%20version%20catalog%20for%20plugins%20in%20the%20plugins%20%7B%7D%20block
2023-03-01chore: refresh Lint baselinesHarsh Shandilya1-0/+11
2022-12-09chore(deps): upgrade ktfmt to 0.42Harsh Shandilya2-13/+11
2022-10-24chore(gradle): add missing suppressions and license headersHarsh Shandilya2-0/+7
2022-07-15all: re-do package structure yet againHarsh Shandilya15-19/+19
2022-06-09Upgrade ktfmt (#1942)Harsh Shandilya2-13/+18
* build-logic: upgrade ktfmt * all: reformat
2022-05-02Misc cleanups (#1891)Harsh Shandilya2-5/+5
2022-03-27Migrate namespaces to Gradle (#1805)Harsh Shandilya2-2/+5
* ui-compose: update Gradle configuration * gradle: fix namespace for a couple astray Compose dependencies * all: switch to Gradle namespace property Mirrors a similar change from AndroidX https://github.com/androidx/androidx/commit/dcfa035a961fd1daabb7dcccf97d77fa2a006abf
2022-01-13Refactor randomized password generator into a separate module (#1663)Aditya Wasan9-0/+395
2021-12-26Misc cleanups to build-logic and expand BCV exclusion list (#1622)Harsh Shandilya1-16/+0
* build-logic: remove `kotlin-dsl-precompiled-script-plugins` plugin * build-logic: use generated accessors for extensions * build: exclude non-published library projects from API dump There's no point in tracking binary compatibility for libraries that are only used internally
2021-12-21diceware: switch to `buildString` lambdaHarsh Shandilya1-8/+5
2021-12-21diceware: convert to an Android libraryHarsh Shandilya4-4/+12
2021-12-21diceware: add passphrase generatorHarsh Shandilya3-0/+77
2021-12-21diceware: add default wordlist to exercise testsHarsh Shandilya2-0/+7794
2021-12-21diceware: add WordListParser and testsHarsh Shandilya2-0/+41
2021-12-21diceware: add Die class and testsHarsh Shandilya4-0/+102
2021-12-21diceware: init empty moduleHarsh Shandilya1-0/+14