ch.epfl.lamp.SbtCourseraPlugin

autoImport

object autoImport

********************************************************* SETTINGS AND TASKS

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. autoImport
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class ProjectDetails(packageName: String, assignmentPartId: String, maxScore: Double, styleScoreRatio: Double, courseId: String = "", dependencies: Seq[ModuleID] = ..., styleSheet: String = "") extends Product with Serializable

    ********************************************************** PROJECT DEFINITION FOR INSTRUMENTATION AGENT

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val allProjects: TaskKey[Unit]

    Displays the list of all projects.

  7. lazy val allProjectsSetting: sbt.Def.Setting[Task[Unit]]

  8. val apiKey: SettingKey[String]

    The api key to access non-public api parts on coursera.

    The api key to access non-public api parts on coursera. This key is secret! It's defined in 'submission/settings.sbt', which is not part of the handout.

    Default value 'apiKey' to make the handout sbt project work

    • In the handout, apiKey needs to be defined, otherwise the build doesn't compile
    • When correcting, we define 'apiKey' in the 'submission/sectrets.sbt' file
    • The value in the .sbt file will take precedence when correcting (settings in .sbt take precedence over those in .scala)
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val commonSourcePackages: SettingKey[Seq[String]]

    Package names of source packages common for all projects, see comment in build.

    Package names of source packages common for all projects, see comment in build.sbt

  12. def compileFailed(inc: Incomplete, log: String): Unit

  13. def compileTestFailed(inc: Incomplete, log: String): Unit

  14. def copiedResourceFiles(copied: Seq[(File, File)]): List[File]

    ********************************************************** RUNNING WEIGHTED SCALATEST & STYLE CHECKER ON DEVELOPMENT SOURCES

  15. val createHandout: InputKey[File]

    ********************************************************* CREATE THE HANDOUT ZIP FILE

  16. lazy val createHandoutSetting: sbt.Def.Setting[InputTask[File]]

  17. val currentProject: SettingKey[String]

    This setting allows to restrict the source files that are compiled and tested to one specific project.

    This setting allows to restrict the source files that are compiled and tested to one specific project. It should be either the empty string, in which case all projects are included, or one of the project names from the projectDetailsMap.

  18. def deleteFiles(submissionSrcDir: File, baseDir: File): Unit

  19. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  21. def failDownloadUnpack(): Nothing

  22. def failSubmit(): Nothing

  23. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. val getSubmission: TaskKey[Unit]

    ********************************************************** DOWNLOADING AND EXTRACTING SUBMISSION

  26. val getSubmissionHook: sbt.Def.Setting[Task[Seq[File]]]

  27. val getSubmissionSetting: sbt.Def.Setting[Task[Unit]]

  28. val gradingCourseId: SettingKey[String]

    she assignment part id of the project to be graded.

    she assignment part id of the project to be graded. Don't hard code this setting in .sbt or .scala, this setting should remain a (command-line) parameter of the submission/grade task, defined when invoking sbt. See also feedback string in "val gradeProjectDetailsSetting".

  29. val gradingTestPackages: SettingKey[Seq[String]]

    Package names of test sources for grading, see comment in build.

    Package names of test sources for grading, see comment in build.sbt

  30. val gradingUUID: SettingKey[String]

    The assignment uuid that is used for uniquely connecting feedback to the logs.

  31. def handleFailure[R](handler: (Incomplete, String) ⇒ Unit): (Result[R]) ⇒ R

  32. val handoutFiles: TaskKey[(String) ⇒ PathFinder]

    The files that are handed out to students.

    The files that are handed out to students. Accepts a string denoting the project name for which a handout will be generated.

  33. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  34. val initGrading: TaskKey[Unit]

    ********************************************************** GRADING INITIALIZATION

  35. lazy val initGradingSetting: sbt.Def.Setting[Task[Unit]]

  36. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  37. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  38. final def notify(): Unit

    Definition Classes
    AnyRef
  39. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  40. val packageSubmission: TaskKey[File]

    ********************************************************** SUBMITTING A SOLUTION TO COURSERA

  41. lazy val packageSubmissionFiles: Seq[sbt.Def.Setting[_]]

  42. val partIdOfGradingProject: SettingKey[String]

    The assignment part id of the project to be graded.

    The assignment part id of the project to be graded. Don't hard code this setting in .sbt or .scala, this setting should remain a (command-line) parameter of the submission/grade task, defined when invoking sbt. See also feedback string in "val gradeProjectDetailsSetting".

  43. val projectDetailsMap: SettingKey[Map[String, ProjectDetails]]

    Project-specific settings, see main build.

    Project-specific settings, see main build.sbt

  44. def readAndUnpackSubmission(baseDir: File, targetSourceDir: File): Unit

  45. val readCompileLog: sbt.Def.Setting[Task[Analysis]]

  46. val readTestCompileLog: sbt.Def.Setting[Task[Analysis]]

  47. val scalaTest: TaskKey[Unit]

  48. val scalaTestJavaAgents: TaskKey[Seq[File]]

    Jars for Java agents to be used when running ScalaTest.

  49. val scalaTestJavaSysProps: TaskKey[Seq[(String, String)]]

    Additional Java system properties to be used when running ScalaTest.

  50. val scalaTestSetting: sbt.Def.Setting[Task[Unit]]

  51. val scalaTestSubmission: TaskKey[Unit]

    ********************************************************** RUNNING SCALATEST

  52. val scalaTestSubmissionSetting: sbt.Def.Setting[Task[Unit]]

  53. lazy val selectMainSources: sbt.Def.Setting[Task[Seq[File]]]

    Only include source files of 'currentProject', helpful when preparing a specific assignment.

    Only include source files of 'currentProject', helpful when preparing a specific assignment. Also keeps the source packages in 'commonSourcePackages'.

  54. val selectTestSources: sbt.Def.Setting[Task[Seq[File]]]

    Only include the test files which are defined in the package of the current project.

    Only include the test files which are defined in the package of the current project. Also keeps test sources in packages listed in 'gradingTestPackages'.

  55. val setTestProperties: TaskKey[Unit]

    ********************************************************** PARAMETERS FOR RUNNING THE TESTS

    ********************************************************** PARAMETERS FOR RUNNING THE TESTS

    Setting some system properties that are parameters for the GradingSuite test suite mixin. This is for running the test task in SBT's JVM. When running the scalaTest task, the ScalaTestRunner creates a new JVM and passes the same properties.

  56. val setTestPropertiesHook: sbt.Def.Setting[Task[Unit]]

  57. val setTestPropertiesSetting: sbt.Def.Setting[Task[Unit]]

  58. val styleCheck: TaskKey[Unit]

  59. val styleCheckSetting: sbt.Def.Setting[Task[Unit]]

    depend on compile to make sure the sources pass the compiler

  60. val styleCheckSubmission: TaskKey[Unit]

    ********************************************************** STYLE CHECKING

  61. val submissionLoggerSetting: sbt.Def.Setting[(sbt.Def.ScopedKey[_]) ⇒ Seq[AbstractLogger]]

    ********************************************************** READING COMPILATION AND TEST COMPILATION LOGS

  62. val submit: InputKey[Unit]

    Task to submit a solution to coursera

  63. val submitProjectName: SettingKey[String]

    The 'submit' task uses this project name (defined in the build.

    The 'submit' task uses this project name (defined in the build.sbt file) to know where to submit the solution

  64. lazy val submitSetting: sbt.Def.Setting[InputTask[Unit]]

  65. def submitSources(sourcesJar: File, submitProject: ProjectDetails, email: String, otPassword: String, logger: Logger): Unit

  66. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  67. def testProperties: Seq[(String, String)]

  68. def toString(): String

    Definition Classes
    AnyRef → Any
  69. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  70. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped