question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to configure `locallyDynamic` in app/build.gradle.kts

See original GitHub issue

Description

Thanks for this great plugins!

Testing the AAB without hassle with your library.

I have problems with locallyDynamic unresolved inside app/build.gradle.kts

Steps to Reproduce

LocallyDynamic gradle plugin version

0.2

LocallyDynamic android library version

0.3

LocallyDynamic android studio plugin version

0.5

Android Studio Version

4.0

Link to a public git repo demonstrating the problem:

(company project)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
jeppemancommented, Jul 2, 2020

This should be fixed in version 0.3 of the gradle plugin, although the new version of the Android Studio plugin needs to be approved by Jetbrains first (version 0.6).

Then use as follows from build.gradle.kts:

import com.jeppeman.locallydynamic.gradle.extensions.locallyDynamic

android {   
    buildTypes {
        getByName("debug") {
            locallyDynamic {
                ...
            }
        }
    }
}
0reactions
jeppemancommented, Jul 3, 2020

👍 AS plugin 0.6 is live now

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gradle kotlin-dsl configuration not working, android extension ...
1. I have the problem that the android {} part in the app-gradle file is not recognized by the IDE, I´m not able...
Read more >
TestKit failure: cannot find extension of type AppExtension
I am developing a Gradle plugin that reacts to various Android plugins ... Unable to configure locallyDynamic in app/build.gradle.kts ...
Read more >
Gradle Kotlin DSL Primer
Gradle's Kotlin DSL provides an alternative syntax to the traditional Groovy DSL with an enhanced editing experience in supported IDEs, with superior ...
Read more >
Migrate your build configuration from Groovy to KTS
Migrate your Gradle configuration files from Groovy to KTS. ... Android Gradle plugin 4.0 added support for using Kotlin script (KTS) in your...
Read more >
1. Configure your project - Apollo GraphQL Docs
Apply the Apollo plugin in app/build.gradle.kts . There are two build.gradle.kts in the project. Make sure to use the one in the app...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found