Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Migrate away from synthetic accessors #26

Conversation

anthonymonori
Copy link
Contributor

Context

Remove kotlin synthetic view accessors and kotlinx-extensions and replace it with regular findViewById

Checklist

The api file helped me spot this :)

Signed-off-by: Antal János Monori <antal.monori@transferwise.com>

Add API Kotlin binary validator

- Add API contract for sequence-layout
- Check task now will verify changes in this

Signed-off-by: Antal János Monori <antal.monori@transferwise.com>

Add a bit more data

Signed-off-by: Antal János Monori <antal.monori@transferwise.com>

Add release GHA, migrate to maven-publish and remove jcenter

Signed-off-by: Antal János Monori <antal.monori@transferwise.com>

Add flag required for API 31

Signed-off-by: Antal János Monori <antal.monori@transferwise.com>

Re-add proguardFiles

Signed-off-by: Antal János Monori <antal.monori@transferwise.com>

Inline versions, enable GHA/dependabot and refactor structure

- Removed buildSrc and inlined Versions.kt
- Switched to Groovy and enabled dependabot.yml
- Renamed sequence layout to library
- Added build.yml with basic verification step
- Bump compile/target SDK to 31
- Removed kotlin-stdlib dependency since that's now redundant from Kotlin 1.4.x (see: https://kotlinlang.org/docs/whatsnew14.html#dependency-on-the-standard-library-added-by-default)
- Use gradle bin instead of all
- Removed redundant settings from gradle.build like versionName/versionCode and release buildType settings

Signed-off-by: Antal János Monori <antal.monori@transferwise.com>
- Replace it with regular findViewById

Signed-off-by: Antal János Monori <antal.monori@transferwise.com>
- r8 was complaining about some missing classes when running the sameple app

Signed-off-by: Antal János Monori <antal.monori@transferwise.com>
@anthonymonori anthonymonori added the enhancement New feature or request label Nov 18, 2021
@anthonymonori anthonymonori self-assigned this Nov 18, 2021
@anthonymonori anthonymonori requested a review from a team as a code owner November 18, 2021 19:08
@anthonymonori anthonymonori merged commit 4191a01 into transferwise:master Nov 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants