Skip to content

buildscript ext does not work #21

@plugie

Description

@plugie

URL of codelab https://github.com/google-developer-training/basic-android-kotlin-compose-training-dessert-clicker/tree/main

In which task and step of the codelab can this issue be found?
Set up dependencies

Describe the problem
buildscript ext does not work

Steps to reproduce?

  1. Add in build.gradle.kts
    buildscript {
    ext {
    lifecycle_version = '2.5.1'
    }
    }
  2. See error...
    Unresolved reference: ext

Versions
Android Studio version: Giraffe 2022.3.1 Patch 2
API version of the emulator: 32

Additional information
Include screenshots if they would be useful in clarifying the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions