neerav
04/19/2023, 1:29 PMclasspath("androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version")
other plugins reference i am able to access in top level build.gradle.kts
but when I have added nav safe args under toml [plugins] not able to access that particular plugin
Not sure is it because of group name with “`:`”
android-navsafe-args = { id = "androidx.navigation:navigation-safe-args-gradle-plugin", version.ref = "navSafeArgsPlugin" }
Can anyone please help me in this ?Magdalena Tsolaki
04/19/2023, 3:11 PM@Suppress("DSL_SCOPE_VIOLATION")
buildscript {
dependencies {
classpath(deps.plugins.android.navsafe.args)
}
}
deps.version.toml
[versions] # Define the dependency versions
navSafeArgsPlugin = "7.0.4"
[plugins] # Define the plugins
android-navsafe-args = { id = "androidx.navigation:navigation-safe-args-gradle-plugin", version.ref = "navSafeArgsPlugin" }
neerav
04/19/2023, 3:38 PMplugins {}
?
And one small query on different topic the screenshot seems you have changed the name of toml file.. is that needs to be define if we give different name?Magdalena Tsolaki
04/19/2023, 3:41 PMMagdalena Tsolaki
04/19/2023, 3:42 PMMagdalena Tsolaki
04/19/2023, 3:44 PM