Due to use of Unity-as-a-Library we have an Android library module / Gradle subproject that has a number of AAR (Android archive) files in its "libs" directory.
We have been using the com.github.kezong:fat-aar Gradle Plugin…
I have a maven repo set up in AWS CodeArtifact. I am using maven-publish plugin with Gradle to publish the artifacts. However, gradle exits with the following error -
Could not GET 'https://.../maven-metadata.xml'. Received status code 403 from…
When using the maven-publish gradle plugin , it publishes both the myapp.jar and myapp-sources.jar files to the maven repo.
How can I exclude the publish of the myapp-sources.jar to the maven repo.
Following is the publishing section for the…
Hey I am trying to publish kmm library in github packages. I followed this doc. But I don't understand
what is project.findProperty("gpr.user") and ("gpr.key")?
I used macos so System.getenv("USERNAME") and System.getenv("TOKEN") is relevant…
I am looking for working documentation on how to publish a library to the public Maven repository using Gradle 7.0.
I have signed up for an account at Maven (Sonatype Actually), have jumped through the verification hoops, and so that seem to be…
Generally, when publishing a library, do we need both sources.jar and javadoc.jar? I don't really understand the purpose of javadoc.jar.If it's about the code documentation, the IDE can show it from sources.jar itself.
Example:
Please note, this is…
I've written a .gradle script named publish.gradle which configures publishing {} for releasing my artifact.
Why on a separate script? I have multiple modules and by doing this every releasable module simply defines some variables.
Module…
When I publish to a local maven repository from a Gradle project, I find that the main JAR file has a -plain suffix.
pdffer/pdffer-template/1.0-SNAPSHOT
➜ ll
total 32
-rw-r--r-- 1 fedmest staff 918B Sep 1 16:39…
I have an Android library (gradle multi module project) where I publish to two different Nexus Maven2 repositories with strict versioning, a release repository and a snapshot repository.
This has worked well using Android Gradle Plugin…
I have a library I'm trying to publish that has a dependency on another module in the same project with multiple publications as well. If I configure the gradle build files like this I run into an…
I'm trying to publish my first Gradle plugin to maven central (sonatype), but I'm receiving the following error:
Execution failed for task ':publishBom-pluginPluginMarkerMavenPublicationToMavenRepository'.
> Failed to publish publication…
I try to upload an artifact into Nexus using the maven-publish plugin.
Almost all goes well, only one problem I couldn't find solution: the generated POM file is not signed.
Here is my code snippet:
plugins {
maven
`maven-publish`
…
I am trying to push my library to GitHub Packages.
I have configured the personal access token and have the github.properties file in the root folder.
The aar file is assembled, using gradle assemble.
When I am running the gradle publish command.…
I'm developing a multi-module android project using gradle build.
I'm using maven-publish plugin to publish artifact to sonartype nexus.
The current setup is inside every module there is a publication job
plugins{
…