From ce1d3d3c9859d879c736468144b2f459ec7c2391 Mon Sep 17 00:00:00 2001 From: Vasil Vasilev Date: Thu, 27 Oct 2022 15:50:27 +0200 Subject: [PATCH] Make the compileOrder test less ambitious to avoid portability problems --- .../src/test/data/1.7/compile-order/build.sbt | 7 +- .../test/data/1.7/compile-order/structure.xml | 3429 +---------------- 2 files changed, 9 insertions(+), 3427 deletions(-) diff --git a/extractor/src/test/data/1.7/compile-order/build.sbt b/extractor/src/test/data/1.7/compile-order/build.sbt index d15edf3..11c7ad7 100644 --- a/extractor/src/test/data/1.7/compile-order/build.sbt +++ b/extractor/src/test/data/1.7/compile-order/build.sbt @@ -2,9 +2,4 @@ name := "some-name" organization := "some-organization" version := "1.2.3" scalaVersion := "2.13.10" - -lazy val core = project.in(file("core")) - .settings(compileOrder := CompileOrder.JavaThenScala) - -lazy val util = project.in(file("util")) - .settings(compileOrder := CompileOrder.ScalaThenJava) +compileOrder := CompileOrder.ScalaThenJava diff --git a/extractor/src/test/data/1.7/compile-order/structure.xml b/extractor/src/test/data/1.7/compile-order/structure.xml index d51a529..838b0d5 100644 --- a/extractor/src/test/data/1.7/compile-order/structure.xml +++ b/extractor/src/test/data/1.7/compile-order/structure.xml @@ -2,8 +2,6 @@ $URI_BASE - import $5e765ffead81e5e6ccae.`core` - import $5e765ffead81e5e6ccae.`util` import _root_.sbt.Keys._ import _root_.sbt.ScriptedPlugin.autoImport._, _root_.sbt.plugins.JUnitXmlReportPlugin.autoImport._, _root_.sbt.plugins.MiniDependencyTreePlugin.autoImport._ import _root_.sbt._ @@ -242,7 +240,7 @@ - Mixed + ScalaThenJava $BASE/src/main/java $BASE/src/main/scala @@ -308,6 +306,12 @@ 10000 None + + + Configures the order in which Java and sources within a single compilation are compiled. Valid values are: JavaThenScala, ScalaThenJava, or Mixed. + 39 + ScalaThenJava + Enables publishing an artifact to remote cache. @@ -543,3419 +547,7 @@ Logs results after a test task completes. 20000 - Main(sbt.TestResultLogger$Defaults$$$Lambda$1015/0x0000000800738840@4a44689,sbt.TestResultLogger$$an... - - - - Default managed resource directory, used when generating resources. - 40 - $BASE/target/scala-2.13/resource... - - - - List of tasks that generate resources. - 100 - - - - - The file globs that are used by a task. This setting will generally be scoped per task. It will also be used to determine the sources to watch during continuous execution. - - 25 - List() - - - - Default unmanaged resource directory, used for user-defined resources. - 10 - - - - Unmanaged source directories, which contain manually created sources. - 10 - - - - The log manager, which creates Loggers for different contexts. - 10000 - - - - Whether or not all the build resolvers should be overridden with what's defined from the launcher. - 41 - false - - - - Default Java source directory. - 10 - - - - Resolvers for remote cache. - 25 - Vector() - - - - - Force the watch process to rerun the current task(s) if any relevant source change is detected regardless of whether or not the underlying file has actually changed. - - 10000 - false - - - - The base directory. Depending on the scope, this is the base directory for the build, project, configuration, or task. - 11 - $BASE - - - - Directory for compiled classes and copied resources. - 11 - - - - The location of a generated artifact. - 39 - - - - Globs to keep during a clean. Must be direct children of target. - 100 - List($BASE/target/global-logging... - - - - Files or directories to keep during a clean. Must be direct children of target. - 100 - Vector() - - - - Provides the current configuration of the referencing scope. - 100 - - - - Message to display when the project is loaded. - 10000 - set current project to some-name (in build file:$HOME/Code/sbt-structure/extractor/src/test/d... - - - - The output directory to produce META-INF/semanticdb/**/*.semanticdb files - 100 - - - - Provides the current project for the referencing scope. - 100 - Project(id compile-order, base: $HOME/Code/sbt-structure/extractor/src/test/data/1.7/compile-... - - - - Default directory containing sources. - 11 - $BASE/src - - - - Managed source directories, which contain sources generated by the build. - 40 - - - - True if the version of the project is a snapshot version. - 39 - false - - - - Main directory for files generated by the build. - 11 - $BASE/target - - - - The versions of Sbt used when cross-building an sbt plugin. - 25 - Vector(1.7.2) - - - - Options on eviction warnings after resolving managed dependencies. - 10000 - - - - List of managed resource directories. - 11 - - - - Directory or JAR file for compiled classes and copied resources - 25 - - - - The project configurations that this configuration depends on, possibly transitively - 10000 - - - - The versions of Scala used when cross-building. - 39 - List(2.13.10) - - - - Declares managed dependencies. - 9 - List(org.scala-lang:scala-library:2.13.10) - - - - The dependency management descriptor for the current module. - 41 - some-organization:some-name:1.2.3 - - - - Options that take file input, which may invalidate the cache. - 100 - - - - Build target identifier of a project and configuration. - 10000 - - - - Declares managed dependency overrides. - 40 - Vector() - - - - Configures whether to generate and publish a pom (true) or Ivy file (false). - 40 - true - - - - Configures how Scala dependencies are checked, filtered, and injected. - 100 - Some(ScalaModuleInfo(2.13.10, 2.13, Vector(), true, false, true, org.scala-lang, Vector(scala-librar... - - - - - Organization/group ID of the Scala used in the project. Default value is 'org.scala-lang'. This is an advanced setting used for clones of the Scala Language. It should be disregarded in standard use cases. - - 100 - org.scala-lang - - - - Continuous execution configuration. - 1000 - - - - Options for resolving managed dependencies. - 10000 - UpdateOptions( circularDependencyLevel = warn, latestSnapshots = true, cachedResolution = false ) - - - - Describes an artifact. - 41 - Artifact(some-name, jar, jar, None, Vector(), None, Map(), None, false) - - - - The Scalac options introduced for SemanticDB - 100 - List(-Yrangepos) - - - - List of tasks that generate sources. - 100 - - - - Unmanaged resource directories, containing resources manually created by the user. - 11 - - - - Corresponds to the buildTarget/jvmTestEnvironment request - 20000 - - - - Source positions where the dependencies are defined. - 20000 - - - - The classpath consisting of internal and external, managed and unmanaged dependencies, all as JARs. - 17 - - - - - 17 - - - - Aggregated credentials across current and root subprojects. Do not rewire this task. - 20000 - - - - Manipulates generated bytecode - 30 - - - - Remote cache ids to pull. - 17 - - - - Retrieve remote cache. - 17 - - - - Executes all tests. - 4 - - - - Defines the mappings from a file to a path, used by packaging, for example. - 30 - - - - Produces the main artifact, such as a binary jar. This is typically an alias for the task that actually does the packaging. - 4 - - - - Generates the Ivy file for publishing to the local repository. - 30 - - - - Callback used by the compiler to report phase progress - 17 - - - - The configuration used to define the classpath. - 200 - - - - Filter controlling whether the test is executed - 20000 - - - - Base directories of build products. - 200 - - - - The classpath consisting of library dependencies, both managed and unmanaged. - 31 - - - - Loads Framework definitions from the test loader. - 20000 - - - - Classpath entries (deep) that are manually managed. - 29 - - - - Module settings, which configure dependency management for a specific module, such as a project. - 20000 - - - - The internal (inter-project) pickles. This task is promise-blocked. - 17 - - - - Generates a pom for publishing when publishing Maven-style. - 17 - - - - Configures aspects of incremental compilation. - 20000 - - - - Start a provided main class as a background job - 5 - - - - Starts the Scala interpreter with the sbt and the build definition on the classpath and useful imports. - 6 - - - - Deletes the ivy cached resolution - 17 - - - - Inter-project and library dependencies. - 200 - - - - Auto-detects main classes. - 31 - - - - The dependency graph for a project - 17 - - - - The external resolvers for automatically managed dependencies. - 41 - - - - Generates the Ivy file for publishing to a repository. - 30 - - - - classifiers-module - 200 - - - - Provides the sbt interface to Ivy. - 200 - - - - Start a provided main class as a foreground job - 5 - - - - Mappings from classpath entry to API documentation base URL. - 41 - - - - The classpath consisting of internal and external, managed and unmanaged dependencies. - 29 - - - - - 20000 - - - - Just the exported classpath as JARs without triggering the compilation. - 17 - - - - Produces a documentation artifact, such as a jar containing API documentation. - 6 - - - - Optionally, the jar of the compiler bridge. When not None, this takes precedence over scalaCompilerBridgeSource - 100 - - - - Zinc analysis storage for early compilation - 10000 - - - - Runs a main class, passing along arguments provided on the command line. - 4 - - - - Dependency resolution to retrieve sbt's components. - 200 - - - - Deletes files produced by the build, such as generated sources, compiled classes, and task caches. - 4 - - - - The base directory for cached dependencies. - 20000 - - - - General dependency management (Coursier) settings, such as the resolvers and options to use. - 20000 - - - - Configures JVM forking. - 10000 - - - - The auxiliary class files that must be managed by Zinc (for instance the TASTy files) - 17 - - - - Shows warnings from compilation, including ones that weren't printed initially. - 29 - - - - - Watch a task (or multiple tasks) and rebuild when its file inputs change or user input is received. The semantics are more or less the same as the `~` command except that it cannot transform the state on exit. This means that it cannot be used to reload the build. - - 10000 - - - - Build products that go on the exported classpath if missing. - 200 - - - - Resolver that handles inter-project dependencies. - 20000 - - - - - 20000 - - - - Inter-project dependencies. - 20000 - - - - Executes the tests provided as arguments or all tests if no arguments are provided. - 5 - - - - Publishes artifacts to the local Ivy repository. - 4 - - - - The exported classpath, consisting of build products and unmanaged and managed, internal and external dependencies, all as JARs. - 17 - - - - Configuration for unresolved dependency warning. - 20000 - - - - General dependency management (Ivy) settings, such as the resolvers and paths to use. - 20000 - - - - Configuration for publishing to the local Ivy repository. - 20000 - - - - Collects all inputs needed for packaging. - 20000 - - - - Produces the main artifact for caching. - 17 - - - - Corresponds to the buildTarget/jvmRunEnvironment request - 20000 - - - - Options for packaging. - 30 - - - - Defines the filename used for compileAnalysisFile. - 20000 - - - - Combines the project resolver, default resolvers, and user-defined resolvers. - 200 - - - - Build products that go on the exported classpath. - 200 - - - - Implementation used to run a main class. - 20000 - - - - Defines the Scala instance to use for compilation, running, and testing. - 20000 - - - - Remote cache artifact definitions. - 17 - - - - Collects all inputs needed for compilation. - 20000 - - - - Build products that get packaged. - 31 - - - - Resolvers not included in the main resolver chain, such as those in module configurations. - 100 - - - - Settings controlling test execution - 20000 - - - - Experimental hook to listen (or send) compilation failure messages. - 20000 - - - - Defines the Scala and Java compilers to use for compilation. - 20000 - - - - Generates a packaged artifact, returning the Artifact and the produced File. - 200 - - - - Resolves and optionally retrieves classifiers, such as javadocs and sources, for sbt, transitively. - 29 - - - - Compiles sources. - 4 - - - - Publishes artifacts to the local Maven repository. - 5 - - - - Unmanaged resources, which are manually created. - 29 - - - - Defines the main class for packaging or running. - 29 - - - - Generates a pom for publishing when publishing Maven-style. - 29 - - - - Provides the set of defined test names. - 31 - - - - Generates API documentation. - 6 - - - - Options for the Scala compiler. - 29 - - - - The classpath consisting of internal and external, managed and unmanaged dependencies. - 200 - - - - Configuration for generating ivy.xml. - 10000 - - - - Produces a source artifact, such as a jar containing sources and resources. - 6 - - - - Classpath entries for the current project (shallow) that are manually managed. - 29 - - - - Runs the main class selected by the first argument, passing the remaining arguments to the main method. - 5 - - - - Options for the incremental compiler. - 30 - - - - Display detailed eviction warnings. - 200 - - - - Publishes artifacts to a repository. - 4 - - - - Project dependency map for the inter-project resolver. - 20000 - - - - The external hooks used by zinc. - 17 - - - - Collect analysis file locations for later use. - 17 - - - - - 20000 - - - - Start an application's default main class as a background job - 5 - - - - Build products that go on the exported classpath as JARs. - 17 - - - - All of the file inputs for a task excluding directories and hidden files. - 17 - - - - Configuration for publishing to the local Maven repository. - 20000 - - - - Collects discovered tests into groups. Whether to fork and the options for forking are configurable on a per-group basis. - 31 - - - - The changed files for a task - 17 - - - - Selects the main class to run. - 31 - - - - Provides the string value for the task it is scoped for - 17 - - - - Actually runs the incremental compilation - 20000 - - - - Provides streams for logging and persisting data. - 20000 - - - - - 17 - - - - Resources generated by the build. - 30 - - - - Defines the sources in all projects for continuous execution to watch. - 100 - - - - Just the exported classpath without triggering the compilation. - 200 - - - - Options for running tests. - 29 - - - - - 17 - - - - Packages all artifacts for publishing and maps the Artifact definition to the generated file. - 200 - - - - - 20000 - - - - Defines the directory name used to store the update cache files (inside the streams cacheDirectory). - 20000 - - - - Provides the sbt interface to publisher - 17 - - - - Sources generated by the build. - 30 - - - - Prints an ascii tree of all the dependencies to the console - 17 - - - - The classpath consisting of internal pickles and external, managed and unmanaged dependencies. This task is promise-blocked. - 17 - - - - UpdateReports for the internal dependencies of this project. - 20000 - - - - Defines test listeners. - 20000 - - - - The internal (inter-project) classpath as JARs. - 17 - - - - - 17 - - - - Starts the Scala interpreter with the project dependencies on the classpath. - 5 - - - - - 200 - - - - The files to recursively delete during a clean. - 40 - - - - Configuration for publishing to a repository. - 20000 - - - - Executes all tests, producing a report. - 200 - - - - Build products that go on the exported classpath as JARs if missing. - 17 - - - - All resource files, both managed and unmanaged. - 30 - - - - - 17 - - - - Collects basic options to configure compilers - 20000 - - - - The names of sbt plugin-related modules (modules that extend Build, Plugin, AutoPlugin) defined by this project. - 200 - - - - - 20000 - - - - Resolvers used to resolve compiler bridges. - 100 - - - - Start an application's default main class as a foreground job - 5 - - - - - 20000 - - - - Zinc analysis storage. - 10000 - - - - Provides the class loader used for testing. - 20000 - - - - Pickle JARs - 20000 - - - - Resolvers used for sbt artifacts. - 17 - - - - Provides the sbt interface to dependency resolution. - 200 - - - - The stored module-graph from the last run - 17 - - - - The resolvers used by the sbt launcher. - 41 - - - - Resolves and optionally retrieves dependencies, producing a full report with callers. - 200 - - - - Resolves and optionally retrieves dependencies, producing a report. - 5 - - - - Produces a main artifact, such as a binary jar. - 5 - - - - The files that have changed since the last task run. - 17 - - - - Configuration for generating ivy.xml. - 10000 - - - - All of the file outputs for a task excluding directories and hidden files. - 17 - - - - Build products that go on the exported compilation classpath as JARs. Note this is promise-blocked. - 20000 - - - - update used for dependencyTree task - 17 - - - - Push remote cache to the cache server. - 17 - - - - Computes JVM environment item - 20000 - - - - The internal (inter-project) classpath. - 200 - - - - Read the incremental compiler analysis from disk - 20000 - - - - All sources, both managed and unmanaged. - 30 - - - - Starts the Scala interpreter with the project classes on the classpath. - 4 - - - - Unique identifier for the remote cache. - 17 - - - - Unmanaged sources, which are manually created. - 29 - - - - ModuleID used for remote cache JARs. - 17 - - - - Corresponds to buildTarget/run request - 20000 - - - - Provides the sbt interface to a configured Ivy module. - 200 - - - - - 20000 - - - - Copies resources to the output directory. - 6 - - - - Returns the TASTy files produced by compilation - 20000 - - - - Description of the BSP build targets - 20000 - - - - Resolvers of the current project, plus those of all from its inter-dependency projects - 17 - - - - Dependency resolution to retrieve the compiler bridge. - 200 - - - - - 20000 - - - - The classpath consisting of external, managed library dependencies. - 31 - - - - Generates the Ivy file for publishing to a repository. - 30 - - - - Executes the tests that either failed before, were not run or whose transitive dependencies changed, among those provided as arguments. - 5 - - - - Writes the task value to the given file - 5 - - - - The remote cache artifact definition. - 17 - - - - Resolves and optionally retrieves classified artifacts, such as javadocs and sources, for dependency definitions, transitively. - 29 - - - - General dependency management (Ivy) settings, configured to retrieve sbt's components. - 20000 - - - - Projects the current project depends on, possibly transitively - 17 - - - - The exported classpath, consisting of build products and unmanaged and managed, internal and external dependencies. - 29 - - - - Provides the list of defined tests. - 31 - - - preferScala2 - - - about - - about - Displays basic information about sbt and the build. - - - - tasks - - tasks - Lists the tasks defined for the current project. - - - - settings - - settings - Lists the settings defined for the current project. - - - - reload - - reload - (Re)loads the current project or changes to plugins project or returns from it. - - - - new - - new - Creates a new sbt build. - - - - projects - - projects - Lists the names of available projects or temporarily adds/removes extra builds to the session. - - - - project - - project - Displays the current project or changes to the provided `project`. - - - - set - - set [every] <setting> - Evaluates a Setting and applies it to the current project. - - - - session - - session - Manipulates session settings. For details, run 'help session'. - - - - inspect - - inspect [tree|uses|definitions|actual] <key> - Prints the value for 'key', the defining scope, delegates, related definitions, and dependencies. - - - - loadp - - - loadFailed - - - load-failed - - - plugin - - - plugins - - plugins - Lists currently available plugins. - - - - writeSbtVersion - - - skipBanner - - - notifyUsersAboutShell - - - shell - - - startServer - - - eval - - - last - - last - Displays output from a previous command or the output from a specific task. - - - - last-grep - - last-grep - Shows lines from the last output for 'key' that match 'pattern'. - - - - lastGrep - - lastGrep - Shows lines from the last output for 'key' that match 'pattern'. - - - - export - - export <tasks>+ - Executes tasks and displays the equivalent command lines. - - - - boot - - - initialize - - - ~ - - ~ <command> - Executes the specified command whenever source files change. - - - - clearCaches - - - resumeFromFailure - - - help - - help - Displays this help message or prints detailed help on requested commands (run 'help <command>'). - - - - completions - - completions - Displays a list of completions for the given argument string (run 'completions <string>'). - - - - iflast - - - append - - - onFailure - - - sbtClearOnFailure - - - sbtStashOnFailure - - - sbtPopOnFailure - - - reboot - - - apply - - - exit - - exit - Terminates the remote client or the build when called from the console. - - - - shutdown - - shutdown - Terminates the build. - - - - oldshell - - - client - - - < - - - alias - - - bspReload - - - - core - $URI_BASE - core - core - 0.1.0-SNAPSHOT - $BASE/core - $BASE/core/target - - 2.12.16 - - $SBT_BOOT/scala-2.12.16/lib/scala-library.jar - - - $SBT_BOOT/scala-2.12.16/lib/jline.jar - $SBT_BOOT/scala-2.12.16/lib/scala-compiler.jar - $SBT_BOOT/scala-2.12.16/lib/scala-reflect.jar - $SBT_BOOT/scala-2.12.16/lib/scala-xml_2.12.jar - - - - JavaThenScala - - $BASE/core/src/main/java - $BASE/core/src/main/scala - $BASE/core/src/main/scala-2 - $BASE/core/src/main/scala-2.12 - $BASE/core/target/scala-2.12/src_managed/main - $BASE/core/src/main/resources - $BASE/core/target/scala-2.12/resource_managed/main - $BASE/core/target/scala-2.12/classes - - - $BASE/core/src/test/java - $BASE/core/src/test/scala - $BASE/core/src/test/scala-2 - $BASE/core/src/test/scala-2.12 - $BASE/core/target/scala-2.12/src_managed/test - $BASE/core/src/test/resources - $BASE/core/target/scala-2.12/resource_managed/test - $BASE/core/target/scala-2.12/test-classes - - - - - - - - - The artifact definitions for the current module. Must be consistent with packagedArtifacts. - 40 - List(Artifact(some-name, pom, pom, None, Vector(pom), None, Map(), None, false), Artifact(some-name,... - - - - Organization/group ID. - 9 - some-organization - - - - Directory for outputting junit test reports. - 11 - - - - Creates the classloader layering strategy for the particular configuration. - 25 - ScalaLibrary - - - - The output directory to produce Zinc Analysis files - 10000 - - - - Project name. - 9 - some-name - - - - Configures retrieving dependencies to the current build. - 10000 - None - - - - Enables publishing an artifact to remote cache. - 25 - - - - Configuration for generating a pom. - 10000 - MakePomConfiguration(Some($BASE/... - - - - Configures paths used by Ivy for dependency management. - 10000 - IvyPaths($BASE, Some(/Users/vasi... - - - - Addition project information like formal name, homepage, licenses etc. - 100 - ModuleInfo(some-name, some-name, None, None, Vector(), some-organization, None, None, Vector()) - - - - List of all resource directories, both managed and unmanaged. - 39 - - - - The Scala version substring describing binary compatibility. - 39 - 2.13 - - - - Coursier cache directory. Uses -Dsbt.coursier.home or Coursier's default. - 100 - $COURSIER/cache - - - - The project configurations that this configuration depends on - 25 - - - - The location where command line history is persisted. - 40 - Some($BASE/target/.history3) - - - - If it exists, represents that the project (and name) were automatically created, rather than user specified. - 10000 - true - - - - Project name transformed from mixed case and spaces to lowercase and dash-separated. - 40 - some-name - - - - Default Scala source directory. - 10 - - - - - 25 - - - - Project description. - 40 - some-name - - - - Configures the module ID of the sources of the compiler bridge when scalaCompilerBridgeBinaryJar is None - 100 - org.scala-sbt:compiler-bridge_2.13:1.7.2:compile - - - - The default directory for manually managed libraries. - 10 - $BASE/lib - - - - Organization homepage. - 41 - None - - - - List of all source directories, both managed and unmanaged. - 11 - - - - Defines the binary compatibility version substring. - 39 - 1.0 - - - - Provides a fully-resolved reference to the current project for the referencing scope. - 100 - ProjectRef($URI_BASE,compile-o... - - - - Toggles the file stamping implementation used to determine whether or not a file has been modified. - 25 - LastModified - - - - SemanticDB Scalac plugin - 100 - org.scalameta:semanticdb-scalac:4.5.9 - - - - Default directory for sources generated by the build. - 39 - $BASE/target/scala-2.13/src_managed - - - - The name of the current module, used for dependency management. - 40 - some-name - - - - Organization full/formal name. - 41 - some-organization - - - - Configures warnings for conflicts in dependency management. - 100 - ConflictWarning(ProjectRef(uri("file:$HOME/Code/sbt-structure/extractor/src/test/data/1.7/com... - - - - The resolvers configured for this application by the sbt launcher. - 41 - Some(Vector(FileRepository(local, Patterns(ivyPatterns=Vector(${ivy.home}/local/[organisation]/[modu... - - - - Enables (true) or disables (false) publishing an artifact. - 11 - true - - - - Toggles whether or not to cache jar classpath entries between command evaluations - 25 - - - - The version of Scala used for building. - 9 - 2.13.10 - - - - User-defined dependency exclusions and sbt itself in the case of metabuild. - 200 - List() - - - - The defined configurations for dependency management. This may be different from the configurations for Project settings. - 40 - List(compile, runtime, test, provided, optional, compile-internal, runtime-internal, test-internal, ... - - - - JAR file for pickles used for build pipelining - 25 - - - - Provides a definition for declaring the current version of sbt. - 41 - org.scala-sbt:sbt:1.7.2 - - - - Configures handling of the Scala version when cross-building. - 100 - Binary(, ) - - - - The output directory to produce Zinc Analysis files - 10000 - - - - Toggles whether to use a hash or the last modified time to stamp the classpath jars - 25 - true - - - - Configuration for resolving and retrieving managed dependencies. - 10000 - UpdateConfiguration(None, false, Default, unknown, None, Some(ArtifactTypeFilter(Set(source, javadoc... - - - - Main directory for files generated by the build that are cross-built. - 40 - $BASE/target/scala-2.13 - - - - The version/revision of the current module. - 9 - 1.2.3 - - - - Logs results after a test task completes. - 20000 - Main(sbt.TestResultLogger$Defaults$$$Lambda$1015/0x0000000800738840@4a44689,sbt.TestResultLogger$$an... - - - - Default managed resource directory, used when generating resources. - 40 - $BASE/target/scala-2.13/resource... - - - - List of tasks that generate resources. - 100 - - - - - The file globs that are used by a task. This setting will generally be scoped per task. It will also be used to determine the sources to watch during continuous execution. - - 25 - List() - - - - Default unmanaged resource directory, used for user-defined resources. - 10 - - - - Unmanaged source directories, which contain manually created sources. - 10 - - - - The log manager, which creates Loggers for different contexts. - 10000 - - - - Whether or not all the build resolvers should be overridden with what's defined from the launcher. - 41 - false - - - - Default Java source directory. - 10 - - - - Resolvers for remote cache. - 25 - Vector() - - - - - Force the watch process to rerun the current task(s) if any relevant source change is detected regardless of whether or not the underlying file has actually changed. - - 10000 - false - - - - The base directory. Depending on the scope, this is the base directory for the build, project, configuration, or task. - 11 - $BASE - - - - Directory for compiled classes and copied resources. - 11 - - - - The location of a generated artifact. - 39 - - - - Globs to keep during a clean. Must be direct children of target. - 100 - List($BASE/target/global-logging... - - - - Files or directories to keep during a clean. Must be direct children of target. - 100 - Vector() - - - - Provides the current configuration of the referencing scope. - 100 - - - - Message to display when the project is loaded. - 10000 - set current project to some-name (in build file:$HOME/Code/sbt-structure/extractor/src/test/d... - - - - The output directory to produce META-INF/semanticdb/**/*.semanticdb files - 100 - - - - Provides the current project for the referencing scope. - 100 - Project(id compile-order, base: $HOME/Code/sbt-structure/extractor/src/test/data/1.7/compile-... - - - - Default directory containing sources. - 11 - $BASE/src - - - - Managed source directories, which contain sources generated by the build. - 40 - - - - True if the version of the project is a snapshot version. - 39 - false - - - - Main directory for files generated by the build. - 11 - $BASE/target - - - - The versions of Sbt used when cross-building an sbt plugin. - 25 - Vector(1.7.2) - - - - Options on eviction warnings after resolving managed dependencies. - 10000 - - - - List of managed resource directories. - 11 - - - - Directory or JAR file for compiled classes and copied resources - 25 - - - - The project configurations that this configuration depends on, possibly transitively - 10000 - - - - The versions of Scala used when cross-building. - 39 - List(2.13.10) - - - - Declares managed dependencies. - 9 - List(org.scala-lang:scala-library:2.13.10) - - - - The dependency management descriptor for the current module. - 41 - some-organization:some-name:1.2.3 - - - - Options that take file input, which may invalidate the cache. - 100 - - - - Build target identifier of a project and configuration. - 10000 - - - - Declares managed dependency overrides. - 40 - Vector() - - - - Configures whether to generate and publish a pom (true) or Ivy file (false). - 40 - true - - - - Configures how Scala dependencies are checked, filtered, and injected. - 100 - Some(ScalaModuleInfo(2.13.10, 2.13, Vector(), true, false, true, org.scala-lang, Vector(scala-librar... - - - - - Organization/group ID of the Scala used in the project. Default value is 'org.scala-lang'. This is an advanced setting used for clones of the Scala Language. It should be disregarded in standard use cases. - - 100 - org.scala-lang - - - - Continuous execution configuration. - 1000 - - - - Options for resolving managed dependencies. - 10000 - UpdateOptions( circularDependencyLevel = warn, latestSnapshots = true, cachedResolution = false ) - - - - Describes an artifact. - 41 - Artifact(some-name, jar, jar, None, Vector(), None, Map(), None, false) - - - - The Scalac options introduced for SemanticDB - 100 - List(-Yrangepos) - - - - List of tasks that generate sources. - 100 - - - - Unmanaged resource directories, containing resources manually created by the user. - 11 - - - - Corresponds to the buildTarget/jvmTestEnvironment request - 20000 - - - - Source positions where the dependencies are defined. - 20000 - - - - The classpath consisting of internal and external, managed and unmanaged dependencies, all as JARs. - 17 - - - - - 17 - - - - Aggregated credentials across current and root subprojects. Do not rewire this task. - 20000 - - - - Manipulates generated bytecode - 30 - - - - Remote cache ids to pull. - 17 - - - - Retrieve remote cache. - 17 - - - - Executes all tests. - 4 - - - - Defines the mappings from a file to a path, used by packaging, for example. - 30 - - - - Produces the main artifact, such as a binary jar. This is typically an alias for the task that actually does the packaging. - 4 - - - - Generates the Ivy file for publishing to the local repository. - 30 - - - - Callback used by the compiler to report phase progress - 17 - - - - The configuration used to define the classpath. - 200 - - - - Filter controlling whether the test is executed - 20000 - - - - Base directories of build products. - 200 - - - - The classpath consisting of library dependencies, both managed and unmanaged. - 31 - - - - Loads Framework definitions from the test loader. - 20000 - - - - Classpath entries (deep) that are manually managed. - 29 - - - - Module settings, which configure dependency management for a specific module, such as a project. - 20000 - - - - The internal (inter-project) pickles. This task is promise-blocked. - 17 - - - - Generates a pom for publishing when publishing Maven-style. - 17 - - - - Configures aspects of incremental compilation. - 20000 - - - - Start a provided main class as a background job - 5 - - - - Starts the Scala interpreter with the sbt and the build definition on the classpath and useful imports. - 6 - - - - Deletes the ivy cached resolution - 17 - - - - Inter-project and library dependencies. - 200 - - - - Auto-detects main classes. - 31 - - - - The dependency graph for a project - 17 - - - - The external resolvers for automatically managed dependencies. - 41 - - - - Generates the Ivy file for publishing to a repository. - 30 - - - - classifiers-module - 200 - - - - Provides the sbt interface to Ivy. - 200 - - - - Start a provided main class as a foreground job - 5 - - - - Mappings from classpath entry to API documentation base URL. - 41 - - - - The classpath consisting of internal and external, managed and unmanaged dependencies. - 29 - - - - - 20000 - - - - Just the exported classpath as JARs without triggering the compilation. - 17 - - - - Produces a documentation artifact, such as a jar containing API documentation. - 6 - - - - Optionally, the jar of the compiler bridge. When not None, this takes precedence over scalaCompilerBridgeSource - 100 - - - - Zinc analysis storage for early compilation - 10000 - - - - Runs a main class, passing along arguments provided on the command line. - 4 - - - - Dependency resolution to retrieve sbt's components. - 200 - - - - Deletes files produced by the build, such as generated sources, compiled classes, and task caches. - 4 - - - - The base directory for cached dependencies. - 20000 - - - - General dependency management (Coursier) settings, such as the resolvers and options to use. - 20000 - - - - Configures JVM forking. - 10000 - - - - The auxiliary class files that must be managed by Zinc (for instance the TASTy files) - 17 - - - - Shows warnings from compilation, including ones that weren't printed initially. - 29 - - - - - Watch a task (or multiple tasks) and rebuild when its file inputs change or user input is received. The semantics are more or less the same as the `~` command except that it cannot transform the state on exit. This means that it cannot be used to reload the build. - - 10000 - - - - Build products that go on the exported classpath if missing. - 200 - - - - Resolver that handles inter-project dependencies. - 20000 - - - - - 20000 - - - - Inter-project dependencies. - 20000 - - - - Executes the tests provided as arguments or all tests if no arguments are provided. - 5 - - - - Publishes artifacts to the local Ivy repository. - 4 - - - - The exported classpath, consisting of build products and unmanaged and managed, internal and external dependencies, all as JARs. - 17 - - - - Configuration for unresolved dependency warning. - 20000 - - - - General dependency management (Ivy) settings, such as the resolvers and paths to use. - 20000 - - - - Configuration for publishing to the local Ivy repository. - 20000 - - - - Collects all inputs needed for packaging. - 20000 - - - - Produces the main artifact for caching. - 17 - - - - Corresponds to the buildTarget/jvmRunEnvironment request - 20000 - - - - Options for packaging. - 30 - - - - Defines the filename used for compileAnalysisFile. - 20000 - - - - Combines the project resolver, default resolvers, and user-defined resolvers. - 200 - - - - Build products that go on the exported classpath. - 200 - - - - Implementation used to run a main class. - 20000 - - - - Defines the Scala instance to use for compilation, running, and testing. - 20000 - - - - Remote cache artifact definitions. - 17 - - - - Collects all inputs needed for compilation. - 20000 - - - - Build products that get packaged. - 31 - - - - Resolvers not included in the main resolver chain, such as those in module configurations. - 100 - - - - Settings controlling test execution - 20000 - - - - Experimental hook to listen (or send) compilation failure messages. - 20000 - - - - Defines the Scala and Java compilers to use for compilation. - 20000 - - - - Generates a packaged artifact, returning the Artifact and the produced File. - 200 - - - - Resolves and optionally retrieves classifiers, such as javadocs and sources, for sbt, transitively. - 29 - - - - Compiles sources. - 4 - - - - Publishes artifacts to the local Maven repository. - 5 - - - - Unmanaged resources, which are manually created. - 29 - - - - Defines the main class for packaging or running. - 29 - - - - Generates a pom for publishing when publishing Maven-style. - 29 - - - - Provides the set of defined test names. - 31 - - - - Generates API documentation. - 6 - - - - Options for the Scala compiler. - 29 - - - - The classpath consisting of internal and external, managed and unmanaged dependencies. - 200 - - - - Configuration for generating ivy.xml. - 10000 - - - - Produces a source artifact, such as a jar containing sources and resources. - 6 - - - - Classpath entries for the current project (shallow) that are manually managed. - 29 - - - - Runs the main class selected by the first argument, passing the remaining arguments to the main method. - 5 - - - - Options for the incremental compiler. - 30 - - - - Display detailed eviction warnings. - 200 - - - - Publishes artifacts to a repository. - 4 - - - - Project dependency map for the inter-project resolver. - 20000 - - - - The external hooks used by zinc. - 17 - - - - Collect analysis file locations for later use. - 17 - - - - - 20000 - - - - Start an application's default main class as a background job - 5 - - - - Build products that go on the exported classpath as JARs. - 17 - - - - All of the file inputs for a task excluding directories and hidden files. - 17 - - - - Configuration for publishing to the local Maven repository. - 20000 - - - - Collects discovered tests into groups. Whether to fork and the options for forking are configurable on a per-group basis. - 31 - - - - The changed files for a task - 17 - - - - Selects the main class to run. - 31 - - - - Provides the string value for the task it is scoped for - 17 - - - - Actually runs the incremental compilation - 20000 - - - - Provides streams for logging and persisting data. - 20000 - - - - - 17 - - - - Resources generated by the build. - 30 - - - - Defines the sources in all projects for continuous execution to watch. - 100 - - - - Just the exported classpath without triggering the compilation. - 200 - - - - Options for running tests. - 29 - - - - - 17 - - - - Packages all artifacts for publishing and maps the Artifact definition to the generated file. - 200 - - - - - 20000 - - - - Defines the directory name used to store the update cache files (inside the streams cacheDirectory). - 20000 - - - - Provides the sbt interface to publisher - 17 - - - - Sources generated by the build. - 30 - - - - Prints an ascii tree of all the dependencies to the console - 17 - - - - The classpath consisting of internal pickles and external, managed and unmanaged dependencies. This task is promise-blocked. - 17 - - - - UpdateReports for the internal dependencies of this project. - 20000 - - - - Defines test listeners. - 20000 - - - - The internal (inter-project) classpath as JARs. - 17 - - - - - 17 - - - - Starts the Scala interpreter with the project dependencies on the classpath. - 5 - - - - - 200 - - - - The files to recursively delete during a clean. - 40 - - - - Configuration for publishing to a repository. - 20000 - - - - Executes all tests, producing a report. - 200 - - - - Build products that go on the exported classpath as JARs if missing. - 17 - - - - All resource files, both managed and unmanaged. - 30 - - - - - 17 - - - - Collects basic options to configure compilers - 20000 - - - - The names of sbt plugin-related modules (modules that extend Build, Plugin, AutoPlugin) defined by this project. - 200 - - - - - 20000 - - - - Resolvers used to resolve compiler bridges. - 100 - - - - Start an application's default main class as a foreground job - 5 - - - - - 20000 - - - - Zinc analysis storage. - 10000 - - - - Provides the class loader used for testing. - 20000 - - - - Pickle JARs - 20000 - - - - Resolvers used for sbt artifacts. - 17 - - - - Provides the sbt interface to dependency resolution. - 200 - - - - The stored module-graph from the last run - 17 - - - - The resolvers used by the sbt launcher. - 41 - - - - Resolves and optionally retrieves dependencies, producing a full report with callers. - 200 - - - - Resolves and optionally retrieves dependencies, producing a report. - 5 - - - - Produces a main artifact, such as a binary jar. - 5 - - - - The files that have changed since the last task run. - 17 - - - - Configuration for generating ivy.xml. - 10000 - - - - All of the file outputs for a task excluding directories and hidden files. - 17 - - - - Build products that go on the exported compilation classpath as JARs. Note this is promise-blocked. - 20000 - - - - update used for dependencyTree task - 17 - - - - Push remote cache to the cache server. - 17 - - - - Computes JVM environment item - 20000 - - - - The internal (inter-project) classpath. - 200 - - - - Read the incremental compiler analysis from disk - 20000 - - - - All sources, both managed and unmanaged. - 30 - - - - Starts the Scala interpreter with the project classes on the classpath. - 4 - - - - Unique identifier for the remote cache. - 17 - - - - Unmanaged sources, which are manually created. - 29 - - - - ModuleID used for remote cache JARs. - 17 - - - - Corresponds to buildTarget/run request - 20000 - - - - Provides the sbt interface to a configured Ivy module. - 200 - - - - - 20000 - - - - Copies resources to the output directory. - 6 - - - - Returns the TASTy files produced by compilation - 20000 - - - - Description of the BSP build targets - 20000 - - - - Resolvers of the current project, plus those of all from its inter-dependency projects - 17 - - - - Dependency resolution to retrieve the compiler bridge. - 200 - - - - - 20000 - - - - The classpath consisting of external, managed library dependencies. - 31 - - - - Generates the Ivy file for publishing to a repository. - 30 - - - - Executes the tests that either failed before, were not run or whose transitive dependencies changed, among those provided as arguments. - 5 - - - - Writes the task value to the given file - 5 - - - - The remote cache artifact definition. - 17 - - - - Resolves and optionally retrieves classified artifacts, such as javadocs and sources, for dependency definitions, transitively. - 29 - - - - General dependency management (Ivy) settings, configured to retrieve sbt's components. - 20000 - - - - Projects the current project depends on, possibly transitively - 17 - - - - The exported classpath, consisting of build products and unmanaged and managed, internal and external dependencies. - 29 - - - - Provides the list of defined tests. - 31 - - - preferScala2 - - - about - - about - Displays basic information about sbt and the build. - - - - tasks - - tasks - Lists the tasks defined for the current project. - - - - settings - - settings - Lists the settings defined for the current project. - - - - reload - - reload - (Re)loads the current project or changes to plugins project or returns from it. - - - - new - - new - Creates a new sbt build. - - - - projects - - projects - Lists the names of available projects or temporarily adds/removes extra builds to the session. - - - - project - - project - Displays the current project or changes to the provided `project`. - - - - set - - set [every] <setting> - Evaluates a Setting and applies it to the current project. - - - - session - - session - Manipulates session settings. For details, run 'help session'. - - - - inspect - - inspect [tree|uses|definitions|actual] <key> - Prints the value for 'key', the defining scope, delegates, related definitions, and dependencies. - - - - loadp - - - loadFailed - - - load-failed - - - plugin - - - plugins - - plugins - Lists currently available plugins. - - - - writeSbtVersion - - - skipBanner - - - notifyUsersAboutShell - - - shell - - - startServer - - - eval - - - last - - last - Displays output from a previous command or the output from a specific task. - - - - last-grep - - last-grep - Shows lines from the last output for 'key' that match 'pattern'. - - - - lastGrep - - lastGrep - Shows lines from the last output for 'key' that match 'pattern'. - - - - export - - export <tasks>+ - Executes tasks and displays the equivalent command lines. - - - - boot - - - initialize - - - ~ - - ~ <command> - Executes the specified command whenever source files change. - - - - clearCaches - - - resumeFromFailure - - - help - - help - Displays this help message or prints detailed help on requested commands (run 'help <command>'). - - - - completions - - completions - Displays a list of completions for the given argument string (run 'completions <string>'). - - - - iflast - - - append - - - onFailure - - - sbtClearOnFailure - - - sbtStashOnFailure - - - sbtPopOnFailure - - - reboot - - - apply - - - exit - - exit - Terminates the remote client or the build when called from the console. - - - - shutdown - - shutdown - Terminates the build. - - - - oldshell - - - client - - - < - - - alias - - - bspReload - - - - util - $URI_BASE - util - util - 0.1.0-SNAPSHOT - $BASE/util - $BASE/util/target - - 2.12.16 - - $SBT_BOOT/scala-2.12.16/lib/scala-library.jar - - - $SBT_BOOT/scala-2.12.16/lib/jline.jar - $SBT_BOOT/scala-2.12.16/lib/scala-compiler.jar - $SBT_BOOT/scala-2.12.16/lib/scala-reflect.jar - $SBT_BOOT/scala-2.12.16/lib/scala-xml_2.12.jar - - - - ScalaThenJava - - $BASE/util/src/main/java - $BASE/util/src/main/scala - $BASE/util/src/main/scala-2 - $BASE/util/src/main/scala-2.12 - $BASE/util/target/scala-2.12/src_managed/main - $BASE/util/src/main/resources - $BASE/util/target/scala-2.12/resource_managed/main - $BASE/util/target/scala-2.12/classes - - - $BASE/util/src/test/java - $BASE/util/src/test/scala - $BASE/util/src/test/scala-2 - $BASE/util/src/test/scala-2.12 - $BASE/util/target/scala-2.12/src_managed/test - $BASE/util/src/test/resources - $BASE/util/target/scala-2.12/resource_managed/test - $BASE/util/target/scala-2.12/test-classes - - - - - - - - - The artifact definitions for the current module. Must be consistent with packagedArtifacts. - 40 - List(Artifact(some-name, pom, pom, None, Vector(pom), None, Map(), None, false), Artifact(some-name,... - - - - Organization/group ID. - 9 - some-organization - - - - Directory for outputting junit test reports. - 11 - - - - Creates the classloader layering strategy for the particular configuration. - 25 - ScalaLibrary - - - - The output directory to produce Zinc Analysis files - 10000 - - - - Project name. - 9 - some-name - - - - Configures retrieving dependencies to the current build. - 10000 - None - - - - Enables publishing an artifact to remote cache. - 25 - - - - Configuration for generating a pom. - 10000 - MakePomConfiguration(Some($BASE/... - - - - Configures paths used by Ivy for dependency management. - 10000 - IvyPaths($BASE, Some(/Users/vasi... - - - - Addition project information like formal name, homepage, licenses etc. - 100 - ModuleInfo(some-name, some-name, None, None, Vector(), some-organization, None, None, Vector()) - - - - List of all resource directories, both managed and unmanaged. - 39 - - - - The Scala version substring describing binary compatibility. - 39 - 2.13 - - - - Coursier cache directory. Uses -Dsbt.coursier.home or Coursier's default. - 100 - $COURSIER/cache - - - - The project configurations that this configuration depends on - 25 - - - - The location where command line history is persisted. - 40 - Some($BASE/target/.history3) - - - - If it exists, represents that the project (and name) were automatically created, rather than user specified. - 10000 - true - - - - Project name transformed from mixed case and spaces to lowercase and dash-separated. - 40 - some-name - - - - Default Scala source directory. - 10 - - - - - 25 - - - - Project description. - 40 - some-name - - - - Configures the module ID of the sources of the compiler bridge when scalaCompilerBridgeBinaryJar is None - 100 - org.scala-sbt:compiler-bridge_2.13:1.7.2:compile - - - - The default directory for manually managed libraries. - 10 - $BASE/lib - - - - Organization homepage. - 41 - None - - - - List of all source directories, both managed and unmanaged. - 11 - - - - Defines the binary compatibility version substring. - 39 - 1.0 - - - - Provides a fully-resolved reference to the current project for the referencing scope. - 100 - ProjectRef($URI_BASE,compile-o... - - - - Toggles the file stamping implementation used to determine whether or not a file has been modified. - 25 - LastModified - - - - SemanticDB Scalac plugin - 100 - org.scalameta:semanticdb-scalac:4.5.9 - - - - Default directory for sources generated by the build. - 39 - $BASE/target/scala-2.13/src_managed - - - - The name of the current module, used for dependency management. - 40 - some-name - - - - Organization full/formal name. - 41 - some-organization - - - - Configures warnings for conflicts in dependency management. - 100 - ConflictWarning(ProjectRef(uri("file:$HOME/Code/sbt-structure/extractor/src/test/data/1.7/com... - - - - The resolvers configured for this application by the sbt launcher. - 41 - Some(Vector(FileRepository(local, Patterns(ivyPatterns=Vector(${ivy.home}/local/[organisation]/[modu... - - - - Enables (true) or disables (false) publishing an artifact. - 11 - true - - - - Toggles whether or not to cache jar classpath entries between command evaluations - 25 - - - - The version of Scala used for building. - 9 - 2.13.10 - - - - User-defined dependency exclusions and sbt itself in the case of metabuild. - 200 - List() - - - - The defined configurations for dependency management. This may be different from the configurations for Project settings. - 40 - List(compile, runtime, test, provided, optional, compile-internal, runtime-internal, test-internal, ... - - - - JAR file for pickles used for build pipelining - 25 - - - - Provides a definition for declaring the current version of sbt. - 41 - org.scala-sbt:sbt:1.7.2 - - - - Configures handling of the Scala version when cross-building. - 100 - Binary(, ) - - - - The output directory to produce Zinc Analysis files - 10000 - - - - Toggles whether to use a hash or the last modified time to stamp the classpath jars - 25 - true - - - - Configuration for resolving and retrieving managed dependencies. - 10000 - UpdateConfiguration(None, false, Default, unknown, None, Some(ArtifactTypeFilter(Set(source, javadoc... - - - - Main directory for files generated by the build that are cross-built. - 40 - $BASE/target/scala-2.13 - - - - The version/revision of the current module. - 9 - 1.2.3 - - - - Logs results after a test task completes. - 20000 - Main(sbt.TestResultLogger$Defaults$$$Lambda$1015/0x0000000800738840@4a44689,sbt.TestResultLogger$$an... + Main(sbt.TestResultLogger$Defaults$$$Lambda$1209/0x000000080079f040@3bf79001,sbt.TestResultLogger$$a... @@ -5340,11 +1932,6 @@ - - $SBT_BOOT/scala-2.12.16/lib/scala-library.jar - $COURSIER/cache/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.12.16/scala-library-2.12.16-javadoc.jar - $COURSIER/cache/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.12.16/scala-library-2.12.16-sources.jar - $COURSIER/cache/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.10/scala-library-2.13.10.jar $COURSIER/cache/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.10/scala-library-2.13.10-javadoc.jar