aboutsummaryrefslogtreecommitdiffstats
path: root/autofill-parser/build.gradle.kts
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/+1
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>
2024-08-14chore: add missing copyright headers and update existing onesHarsh Shandilya1-1/+1
2023-07-26fix(autofill-parser): remove Kotlin 1.7 compat workaroundsHarsh Shandilya1-8/+0
It's not worth trying to maintain this
2023-07-06fix(build): adjust ktfmt path filtering to allow formatting build.gradle.kts ↵Harsh Shandilya1-3/+1
files
2023-06-19fix(autofill-parser): restore older stdlib and language versionHarsh Shandilya1-0/+10
2023-06-15chore: rename TOML keys for coroutines depsHarsh Shandilya1-1/+1
2023-05-17chore(autofill-parser): release v1.1.2autofill-parser-v1.1.2Harsh Shandilya1-1/+0
2023-05-12feat: raise min SDK to 26Harsh Shandilya1-1/+6
Autofill is only available on API 26 and above and I do not want to deal with bugs on these older Android releases.
2023-04-27refactor(build): remove `kotlin-library` plugin from Android modulesHarsh Shandilya1-1/+0
2023-03-27refactor: migrate to androidx.core APIs for `Bundle`/`Intent` API changesHarsh Shandilya1-0/+1
2023-03-21fix(build): remove `DSL_SCOPE_VIOLATION` suppressionHarsh Shandilya1-2/+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
2022-10-24chore(gradle): add missing suppressions and license headersHarsh Shandilya1-0/+1
2022-03-27Migrate namespaces to Gradle (#1805)Harsh Shandilya1-0/+1
* 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
2021-12-11Miscellaneous build and CI cleanups (#1587)Harsh Shandilya1-3/+1
2021-12-03Turn on explicit API for Kotlin JVM projects (#1568)Harsh Shandilya1-0/+1
2021-12-03all: switch to new convention pluginsHarsh Shandilya1-5/+3
2021-11-16build: apply `kotlin-common` convention plugin where applicableHarsh Shandilya1-0/+1
2021-10-09Upgrade plugin dependencies and fix Javadoc generation (#1517)Harsh Shandilya1-0/+1
* build: upgrade all plugins * autofill-parser/openpgp-ktx: apply Dokka plugin * Move repository configuration to settings.gradle.kts * Replace deprecated lintOptions * Reorder repositories
2021-10-03Replace Timber with logcat (#1509)(´⌣`ʃƪ)1-1/+1
* Replace Timber with logcat (#1505) * Add extension for asLog which takes a message param Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2021-07-29Revamp PSL updates (#1475)Harsh Shandilya1-1/+6
* build: import Mozilla's Gradle plugin for PSL updates * autofill-parser: add tests for PublicSuffixListLoader * autofill-parser: regenerate publicsuffixes list * github: switch to Gradle plugin for PSL updates
2021-07-29Upgrade to AGP 7.0.0 (#1474)Harsh Shandilya1-7/+1
2021-05-12Upgrade Gradle and `androidx.annotation` (#1407)Harsh Shandilya1-1/+1
2021-04-18build: enable explicit API automatically on all library projectsHarsh Shandilya1-4/+0
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-12Update to Gradle 7.0 (#1381)Harsh Shandilya1-5/+5
2021-04-10autofill-parser: restore LGPL-3.0 and MPL-2.0 licence headersHarsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18all: reformat with ktfmtHarsh Shandilya1-22/+16
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18all: update copyrightsHarsh Shandilya1-0/+5
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-06Replace JCenter with Maven Central (#1303)Harsh Shandilya1-1/+1
2020-11-29build: move publishing config to buildSrc for re-useHarsh Shandilya1-64/+0
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-03Make autofill-parser API explicit and refactor (#1182)Fabian Henneke1-2/+12
2020-10-16Revamp build configuration (#1156)Harsh Shandilya1-2/+4
* release: move scripts to scripts directory Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Move CI secrets to secrets directory Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * gradle: uprev to 6.7 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * gradle: suppress warnings about unsupported options Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: update dependencies Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: move Gradle plugins to ext Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: move configuration tasks to buildSrc Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * CHANGELOG: add entry for #1137 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Fix lint warnings Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-08autofill-parser: flesh out generated POM file (#1140)Harsh Shandilya1-3/+30
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-20autofill-parser: add dependency on AndroidX annotationHarsh Shandilya1-0/+1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-20autofill-parser: drop use of core-ktxHarsh Shandilya1-1/+0
We use an alpha version of core-ktx that might be undesirable for projects including the library Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-20autofill-parser: configure maven-publish pluginHarsh Shandilya1-0/+38
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-16Autofill: Extract AutofillParser into separate subproject (#1101)Vincent Breitmoser1-0/+19
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Fabian Henneke <fabian@henneke.me>