From d0726561bbc5b7464c1a7cbb7e8110216051827d Mon Sep 17 00:00:00 2001 From: Christopher Vogt Date: Tue, 21 Feb 2017 20:32:24 +0800 Subject: use `name` instead of `projectName` as it is more universal and the term `project` is probably going away in cbt. --- stage2/BasicBuild.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stage2/BasicBuild.scala') diff --git a/stage2/BasicBuild.scala b/stage2/BasicBuild.scala index 88f08dc..f7f54a3 100644 --- a/stage2/BasicBuild.scala +++ b/stage2/BasicBuild.scala @@ -41,7 +41,7 @@ trait BaseBuild extends BuildInterface with DependencyImplementation with Trigge def defaultScalaVersion: String = constants.scalaVersion final def scalaVersion = context.scalaVersion getOrElse defaultScalaVersion final def scalaMajorVersion: String = lib.libMajorVersion(scalaVersion) - def projectName = "default" + def name = projectDirectory.getName // TODO: get rid of this in favor of newBuild. // currently blocked on DynamicOverride being not parts -- cgit v1.2.3