Fixed
Status Update
Comments
il...@google.com <il...@google.com>
il...@google.com <il...@google.com>
wk...@google.com <wk...@google.com> #2
since these are in public API (:/) we need to do this in 1.2
wk...@google.com <wk...@google.com>
wk...@google.com <wk...@google.com>
ce...@gmail.com <ce...@gmail.com> #3
since it is already marked as deprecated, we can probably do it by now.
Description
Version used: 1.0.0-alpha01
Minimal project that demonstrates issue:
Using Android Studio 3.2 Canary 15, I use the new project wizard to create an empty project and then to add an Android Library module.
When adding this line:
apply plugin: "androidx.navigation.safeargs"
to the library module's build.gradle, I get this error:
Caused by: org.gradle.api.GradleException: safeargs plugin must be used with android plugin
at androidx.navigation.safeargs.gradle.SafeArgsPlugin.apply(SafeArgsPlugin.kt:36)
at androidx.navigation.safeargs.gradle.SafeArgsPlugin.apply(SafeArgsPlugin.kt:32)
However, I don't get any errors when adding the same line to the app's build.gradle file.