question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

mavenPublish not found

See original GitHub issue

I tried to change the default Sonatype host using this code snippet (in my build.gradle.kts):

allprojects {
    plugins.withId("com.vanniktech.maven.publish") {
        mavenPublish {
            sonatypeHost = SonatypeHost.S01
        }
    }
}

However, both mavenPublish and sonatypeHost cannot be found.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:20 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
TheOnlyTailscommented, Jun 7, 2021

It works. Thank you so much. These has been a long few months. 🎉

1reaction
TheOnlyTailscommented, Jun 7, 2021

IT’S WORKING!

It may have taken me 3 months, but it’s finally working.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gradle's Maven Publish plugin not publishing POM or proper ...
A properly-formatted pom. xml is published to Maven local alongside the jar, so that any other Gradle/Maven projects can "pull it down" locally ......
Read more >
Maven Publish Plugin - Gradle User Manual
The Maven Publish Plugin provides the ability to publish build artifacts to an Apache ... It does not include copying publications to the...
Read more >
Plugin with id 'maven' not found. · Issue #12774 · expo/expo
Summary I Just upgraded react-native from 0.62.0 to 0.63.0 and all was working fine. But after I integrated expo unimodules in my bare...
Read more >
Maven Repository and how to publish libraries locally on your ...
The publishToMavenLocal is a built-in task of the maven-publish plugin of Gradle, and it will not publish anything into the remote Artifactory (JCenter ......
Read more >
Publish Artifacts from a Gradle Project - JetBrains
Publish Maven artifacts using Gradle command-line tool · Open the project's build.gradle file. · Add the reference to the Maven plugin: · In...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found