# Kotlin and Android Development featuring Jetpack:Page 37

**URL:** <https://forum.devtalk.com/t/kotlin-and-android-development-featuring-jetpack-page-37/71573>\
**Category:** PragProg Customers\
**Tags:** book-kotlin-and-android-development-featuring-jetpack, question\
**Created:** [1 September 2022 01:54 UTC](https://forum.devtalk.com/t/kotlin-and-android-development-featuring-jetpack-page-37/71573 "2022-09-01T01:54:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NaplesDave](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/n/ecccb3/32.png) [@NaplesDave](https://forum.devtalk.com/u/NaplesDave)\
**Post date:** [1 September 2022 01:54 UTC](https://forum.devtalk.com/t/kotlin-and-android-development-featuring-jetpack-page-37/71573/1 "2022-09-01T01:54:11Z")

</div>

### @mfazio23

Enable Data Binding paragraph. I’m not sure I got this right, the book is a bit vague on this in my opinion. But, I placed the required items in the “build.gradle(:app)” file. And here is how I made my entries. Can you tell me is the correct way to do it, see my code snipping below;

````auto
plugins {
    id 'com.android.application'
    id 'org.jetbrains.kotlin.android'
    id 'kotlin-kapt'
}

android {
    compileSdk 32

    buildFeatures{
        dataBinding = true
    }

    defaultConfig {
        applicationId "com.example.pennydrop"
        minSdk 26
        targetSdk 32
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

    buildTypes {```
````

---

<div class="post-metadata">

**Author:** ![mfazio23](https://forum.devtalk.com/user_avatar/forum.devtalk.com/mfazio23/32/528_2.png) [@mfazio23](https://forum.devtalk.com/u/mfazio23)\
**Post date:** [2 September 2022 04:12 UTC](https://forum.devtalk.com/t/kotlin-and-android-development-featuring-jetpack-page-37/71573/2 "2022-09-02T04:12:38Z")

</div>

This looks right to me! Keep in mind you can always grab the source code from the [book’s homepage](https://pragprog.com/titles/mfjetpack/kotlin-and-android-development-featuring-jetpack/) and compare against what’s there.
