diff --git a/build.gradle b/build.gradle index 3b674cd..d6937a2 100644 --- a/build.gradle +++ b/build.gradle @@ -85,29 +85,6 @@ publishing { } } } - repositories { - maven { - name = "OSSRH" - def releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2" - def snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots" - url = isReleaseVersion ? releasesRepoUrl : snapshotsRepoUrl - credentials { - username = System.getenv("MAVEN_USERNAME") - password = System.getenv("MAVEN_PASSWORD") - } - } - // This currently only works for released versions, as github has problems with overwriting snapshots - if (isReleaseVersion) { - maven { - name = "GitHubPackages" - url = "https://maven.pkg.github.com/tobiasdiez/EasyBind" - credentials { - username = System.getenv("GITHUB_ACTOR") - password = System.getenv("GITHUB_TOKEN") - } - } - } - } } signing {