This message was deleted.
# community-support
s
This message was deleted.
n
https://github.com/Triple-T/gradle-play-publisher/blob/master/play/plugin/build.gradle.kts#L10 <-- they don't expose that dependency as part of the api, so you'll have to explicitly depend on it for your plugin to be able to access the type at compile time.
Not sure why that's the case, seems like a bug to me 🤷
j
I have it as a dependency for my convention plugin project
Copy code
dependencies {
    compileOnly(libs.play.gradlePlugin)
}
Copy code
play-gradlePlugin = { group = "com.github.triplet.gradle", name = "play-publisher", version.ref = "playpublisher" }
do they publish
Copy code
implementation(project(":play:android-publisher"))
as an artifact ?
n
given that you define it as a dependency and it doesn't fail your build (it doesn't, right?), it sure looks like they do
j
When I try to sync, AS fails
thanks
v
You should probably still report it as bug though. That it is part of the API but declared as
implementation
dependency instead of
api
dependency is exactly why you have the problem. 🙂
j
ok, thanks
that artifact didn't help
I will report and wait to see
thanks
v
Depending on
android-publisher
manually should help though if you did it correctly.
j
I will keep trying
ok, using
Copy code
compileOnly("com.github.triplet.gradle:android-publisher:3.8.4")
fixes it
👌 1
thanks folksç
r
Unfortunately the owner is not actively maintaining that project, but he is willing to review and merge PRs, so if this is something you need I encourage you to also propose the required changes in a PR as well if you want the issue to be solved anytime soon 🙂 (Also, the link to this slack thread will become invalid in a few months, so I suggest adding all relevant information there as well to better document the problem without requiring to join this slack)
v