From 8b4de32c3c41cac3baa323c1afb423b1ecf9dd30 Mon Sep 17 00:00:00 2001 From: Roman Janusz Date: Sat, 18 Mar 2023 23:45:47 +0100 Subject: [PATCH] ProjectGroup.parentGroup is final --- src/main/scala/com/github/ghik/sbt/nosbt/ProjectGroup.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/com/github/ghik/sbt/nosbt/ProjectGroup.scala b/src/main/scala/com/github/ghik/sbt/nosbt/ProjectGroup.scala index d91790b..f17e487 100644 --- a/src/main/scala/com/github/ghik/sbt/nosbt/ProjectGroup.scala +++ b/src/main/scala/com/github/ghik/sbt/nosbt/ProjectGroup.scala @@ -14,7 +14,7 @@ abstract class ProjectGroup( protected def rootProjectId: String = parent.fold(groupName)(p => s"${p.rootProjectId}-$groupName") protected def subProjectId(name: String): String = s"$rootProjectId-$name" - def parentGroup: Option[ProjectGroup] = parent.toOption + final def parentGroup: Option[ProjectGroup] = parent.toOption def baseDir: File = parent.fold(file("."))(p => p.baseDir / groupName)