From b4377ff34e813281e4d65ee18b00133fac4d3322 Mon Sep 17 00:00:00 2001 From: Olivier Filangi Date: Wed, 21 Feb 2024 17:38:15 +0100 Subject: [PATCH] fix sonatype error --- build.sbt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index c6f19a6..4c96e85 100644 --- a/build.sbt +++ b/build.sbt @@ -7,7 +7,6 @@ def getPackageSetting = Seq( version := scala.util.Properties.envOrElse("PROG_VERSION", version_n3 ), scalaVersion := "2.13.12", versionScheme := Some("early-semver"), - publish / skip := true, organization := "com.github.p2m2", organizationName := "p2m2", organizationHomepage := Some(url("https://www6.inrae.fr/p2m2")), @@ -47,7 +46,8 @@ def getPackageSetting = Seq( publishConfiguration := publishConfiguration.value.withOverwrite(true) , publishLocalConfiguration := publishLocalConfiguration.value.withOverwrite(true), pomIncludeRepository := { _ => false }, - publishMavenStyle := true + publishMavenStyle := true, + publishTo := sonatypePublishToBundle.value, ) lazy val root = project.in(file(".")).