-
I'm trying to build a very small Gradle file to essentially let me run this publishing plugin as a CLI script. I tried build a Gradle file like this:
( If I run it like this:
I see this cryptic error:
I'm assuming this might be due to the publishing plugin expecting the Android Gradle Plugin to be available/configured in my build 😕 Is this feasible or am I going down the wrong path with what I'm trying to accomplish? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Not currently possible, but I'd accept a PR. |
Beta Was this translation helpful? Give feedback.
-
I dug into this a bit more and now I actually don't think a PR is really necessary: I was able to put together a minimal Android project for this without too much work (or boilerplate); it works well! Copying here in case anyone else is interested:
then just call whatever publish command you want to use: |
Beta Was this translation helpful? Give feedback.
I dug into this a bit more and now I actually don't think a PR is really necessary: I was able to put together a minimal Android project for this without too much work (or boilerplate); it works well!
Copying here in case anyone else is interested:
settings.gradle.kts
file like this:build.gradle.kts
file at the same root directory, like this: