summaryrefslogtreecommitdiff
path: root/project/build/BasicLayer.scala
diff options
context:
space:
mode:
Diffstat (limited to 'project/build/BasicLayer.scala')
-rw-r--r--project/build/BasicLayer.scala26
1 files changed, 8 insertions, 18 deletions
diff --git a/project/build/BasicLayer.scala b/project/build/BasicLayer.scala
index b315f8e0ef..ee2f5dc681 100644
--- a/project/build/BasicLayer.scala
+++ b/project/build/BasicLayer.scala
@@ -18,18 +18,22 @@ abstract class BasicLayer(val info:ProjectInfo,val versionNumber:String, previou
def buildInfoEnvironmentLocation:Path=outputRootPath / ("build-"+name+".properties")
- override def watchPaths = info.projectPath / "src" ** ("*.scala" || "*.java"|| AdditionalResources.basicFilter) // Support of triggered execution at project level
-
+ // Support of triggered execution at project level
+ override def watchPaths = info.projectPath / "src" ** ("*.scala" || "*.java"|| AdditionalResources.basicFilter)
override def dependencies = info.dependencies
lazy val copyright = property[String]
lazy val partestVersionNumber = property[Version]
lazy val nextLayer:Option[BasicLayer]=None
+ def packingDestination :Path = layerOutput / "pack"
lazy val libsDestination=packingDestination/"lib"
lazy val packedStarrOutput=outputRootPath / "pasta"
lazy val requiredPluginsDirForCompilation = layerOutput / "misc" / "scala-devel" / "plugins"
+ def compilerAdditionalJars: List[Path] = Nil
+ def libraryAdditionalJars: List[Path] = Nil
+
// TASKS
@@ -268,25 +272,11 @@ abstract class BasicLayer(val info:ProjectInfo,val versionNumber:String, previou
// Grouping compilation steps
- def minimalCompilation = false // It must be true for locker because we do not nedd to compile everything
+ def minimalCompilation = false // It must be true for locker because we do not need to compile everything
def libraryWS:WrapperStep with Packaging
def toolsWS:WrapperStep
lazy val pluginsWS = new WrapperStep(continuationPluginConfig::continuationLibraryConfig::Nil)
lazy val allSteps = new WrapperStep(libraryWS::compilerConfig::pluginsWS::toolsWS::Nil)
-
-
-
-
- //Paths location that must be defined layer by layer
- /*
- * We must define which are the libraries used to instantiate the compiler
- * that will be used to compile this layer.
- */
- def packingDestination :Path = layerOutput / "pack"
- def compilerAdditionalJars: List[Path] = Nil
- def libraryAdditionalJars: List[Path] = Nil
-
-
- }
+}