Skip to content

Commit

Permalink
[NCLSUP-1120] Treat sbt as maven artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
janinko committed Sep 5, 2024
1 parent 1f358bf commit 0d4360a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ private static Artifact createArtifact(KojiLocalArchive localArchive, BuildSyste
KojiArchiveInfo archiveInfo = localArchive.getArchive();

Artifact.ArtifactBuilder builder;
if ("maven".equals(archiveInfo.getBuildType()) || "gradle".equals(archiveInfo.getBuildType())) {
if ("maven".equals(archiveInfo.getBuildType()) || "gradle".equals(archiveInfo.getBuildType())
|| "sbt".equals(archiveInfo.getBuildType())) {
builder = createMavenArtifact(archiveInfo);
} else if ("npm".equals(archiveInfo.getBuildType())) {
builder = createNpmArtifact(archiveInfo);
Expand Down

0 comments on commit 0d4360a

Please sign in to comment.