diff --git a/codepropertygraph/build.sbt b/codepropertygraph/build.sbt index 087e2f4..2351f0c 100644 --- a/codepropertygraph/build.sbt +++ b/codepropertygraph/build.sbt @@ -15,3 +15,13 @@ ThisBuild / resolvers ++= Seq( Resolver.githubPackages("appthreat/overflowdb2"), "Sonatype OSS".at("https://oss.sonatype.org/content/repositories/public") ) +githubOwner := "appthreat" +githubRepository := "cpg2" +githubSuppressPublicationWarning := true +credentials += + Credentials( + "GitHub Package Registry", + "maven.pkg.github.com", + "appthreat", + sys.env.getOrElse("GITHUB_TOKEN", "N/A") + ) diff --git a/domainClasses/build.sbt b/domainClasses/build.sbt index e00d0a3..89edf05 100644 --- a/domainClasses/build.sbt +++ b/domainClasses/build.sbt @@ -22,3 +22,13 @@ ThisBuild / resolvers ++= Seq( Resolver.githubPackages("appthreat/overflowdb2"), "Sonatype OSS".at("https://oss.sonatype.org/content/repositories/public") ) +githubOwner := "appthreat" +githubRepository := "cpg2" +githubSuppressPublicationWarning := true +credentials += + Credentials( + "GitHub Package Registry", + "maven.pkg.github.com", + "appthreat", + sys.env.getOrElse("GITHUB_TOKEN", "N/A") + ) diff --git a/proto-bindings/build.sbt b/proto-bindings/build.sbt index af34b0d..d0ab562 100644 --- a/proto-bindings/build.sbt +++ b/proto-bindings/build.sbt @@ -83,3 +83,13 @@ ThisBuild / resolvers ++= Seq( Resolver.githubPackages("appthreat/overflowdb2"), "Sonatype OSS".at("https://oss.sonatype.org/content/repositories/public") ) +githubOwner := "appthreat" +githubRepository := "cpg2" +githubSuppressPublicationWarning := true +credentials += + Credentials( + "GitHub Package Registry", + "maven.pkg.github.com", + "appthreat", + sys.env.getOrElse("GITHUB_TOKEN", "N/A") + ) diff --git a/schema/build.sbt b/schema/build.sbt index 52ebb7e..3386382 100644 --- a/schema/build.sbt +++ b/schema/build.sbt @@ -39,3 +39,14 @@ ThisBuild / resolvers ++= Seq( Resolver.githubPackages("appthreat/overflowdb2"), "Sonatype OSS".at("https://oss.sonatype.org/content/repositories/public") ) + +githubOwner := "appthreat" +githubRepository := "cpg2" +githubSuppressPublicationWarning := true +credentials += + Credentials( + "GitHub Package Registry", + "maven.pkg.github.com", + "appthreat", + sys.env.getOrElse("GITHUB_TOKEN", "N/A") + ) diff --git a/schema2json/build.sbt b/schema2json/build.sbt index e4673f9..8deecb8 100644 --- a/schema2json/build.sbt +++ b/schema2json/build.sbt @@ -28,3 +28,13 @@ ThisBuild / resolvers ++= Seq( Resolver.githubPackages("appthreat/overflowdb2"), "Sonatype OSS".at("https://oss.sonatype.org/content/repositories/public") ) +githubOwner := "appthreat" +githubRepository := "cpg2" +githubSuppressPublicationWarning := true +credentials += + Credentials( + "GitHub Package Registry", + "maven.pkg.github.com", + "appthreat", + sys.env.getOrElse("GITHUB_TOKEN", "N/A") + )