Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Is databinding supported for kotlin project? #1883

Open
atiwari-pretlist opened this issue May 11, 2018 · 3 comments
Open

Is databinding supported for kotlin project? #1883

atiwari-pretlist opened this issue May 11, 2018 · 3 comments
Labels

Comments

@atiwari-pretlist
Copy link

I am trying to build android kotlin project with buck but facing issues related to data-binding.
Could you please confirm if data-binding is supported with buck? Thanks.

@cjhopman
Copy link
Contributor

Maybe @brettwooldridge or @cwoodwar6 know.

@cwoodwar6
Copy link
Contributor

As was mentioned here: uber/okbuck#651 data-binding is not supported in OkBuck nor is it supported in Buck as far as I am aware. @thalescm might be able to answer to what would be required to support this (assuming I am correct that it isn't supported today).

I do believe you can use Kotlin Android Extensions as an alternative, which is talked about here. Kotlin Android Extensions is supported by both OkBuck and Buck.

Depending on how complex it is to set up data binding, it may be simple to enable it using extra_kotlinc_arguments.

@thalescm
Copy link
Contributor

Projects I work on don't use data-binding, so I don't know what gradle does to make it compile, neither tried it at home :/ But it would be a great addition to buck!

@v-jizhang v-jizhang added the P3 Priority 3 label Mar 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants