Commit Graph

9153 Commits

Author SHA1 Message Date
eugene yokota 6703c98f73 Merge pull request #2581 from eed3si9n/wip/forward_porting
FPORT: Various ports
2016-05-02 04:03:08 -04:00
Eugene Yokota 30ee653e82 Bump to sbinary 0.4.3
sbinary 0.4.3 is available from Maven Central
2016-05-02 04:00:57 -04:00
Dale Wijnand cc76d9ccd8 Merge pull request #39 from eed3si9n/wip/jline
FPORT: Workaround for Jline regression
2016-05-02 08:51:20 +01:00
eugene yokota d49b6fd420 Fixes #2480. Workaround for Jline regression (#2570)
Workaround jline/jline2#205
2016-05-02 03:27:38 -04:00
Eugene Yokota 89a17c79d6 Adjust to changes 2016-05-02 01:37:16 -04:00
Eugene Yokota ab43ec51d8 Adds a scripted test that tests repo override 2016-05-01 03:31:18 -04:00
Eugene Yokota 296758e159 Fix #2519. Fixes Maven Central getting included even with repo override 2016-05-01 03:19:34 -04:00
Eugene Yokota e3a06b72c0 Use 0.13.11 2016-05-01 03:06:26 -04:00
Eugene Yokota 78ea2932a4 Fixes #2427 inter-project dependency interference with sbt-web
sbt-web uses exportedProducts key as an extension point.
This removes exportedProductsAlways from 0.13.10-RC1,
and uses exportedProducts instead.
2016-05-01 02:59:06 -04:00
Eugene Yokota 447e2f7f8c Inter-project dependency tracking. Fixes #2266
Adds `trackInternalDependencies` and `exportToInternal` settings. These
can be used to control whether to trigger compilation of a dependent
subprojects when you call `compile`. Both keys will take one of three
values: `TrackLevel.NoTracking`, `TrackLevel.TrackIfMissing`, and
`TrackLevel.TrackAlways`. By default they are both set to
`TrackLevel.TrackAlways`.

When `trackInternalDependencies` is set to `TrackLevel.TrackIfMissing`,
sbt will no longer try to compile internal (inter-project) dependencies
automatically, unless there are no `*.class` files (or JAR file when
`exportJars` is `true`) in the output directory. When the setting is
set to `TrackLevel.NoTracking`, the compilation of internal
dependencies will be skipped. Note that the classpath will still be
appended, and dependency graph will still show them as dependencies.
The motivation is to save the I/O overhead of checking for the changes
on a build with many subprojects during development. Here's how to set
all subprojects to `TrackIfMissing`.

    lazy val root = (project in file(".")).
      aggregate(....).
      settings(
        inThisBuild(Seq(
          trackInternalDependencies := TrackLevel.TrackIfMissing,
          exportJars := true
        ))
      )

The `exportToInternal` setting allows the dependee subprojects to opt
out of the internal tracking, which might be useful if you want to
track most subprojects except for a few. The intersection of the
`trackInternalDependencies` and `exportToInternal` settings will be
used to determine the actual track level. Here's an example to opt-out
one project:

    lazy val dontTrackMe = (project in file("dontTrackMe")).
      settings(
        exportToInternal := TrackLevel.NoTracking
      )
2016-05-01 02:57:03 -04:00
Martin Duhem b086360046 Update bridge retrieval in `consoleProject`
Fixes sbt/sbt#2428
2016-05-01 02:49:11 -04:00
Eugene Yokota faf0683a7a 0.13.11 notes 2016-05-01 01:26:18 -04:00
eugene yokota 3351873a22 Merge pull request #2578 from xuwei-k/fix-2552
exclude directories from unmanagedSources
2016-04-30 13:44:56 -04:00
xuwei-k a6e31a0dc7 exclude directories from unmanagedSources
fix #2552
2016-04-30 11:13:02 +09:00
eugene yokota 2590f2d3d1 Merge pull request #2577 from eed3si9n/wip/bumpscala
[sbt 1.0] Bump to Scala 2.11.8
2016-04-29 17:20:30 -04:00
Eugene Yokota e4ee409cd5 Some changes due to cross publishing 2016-04-29 16:18:40 -04:00
Eugene Yokota 9e10f01363 Workaround for XML literal in build.sbt 2016-04-29 16:18:19 -04:00
Eugene Yokota bfd7930217 Update Travis CI configuration 2016-04-29 12:37:34 -04:00
Eugene Yokota 0df316b34e Configure launchconfig to 2.11 2016-04-29 04:39:49 -04:00
Eugene Yokota de4fef8a09 Move sbt-maven-resolver out of this repository 2016-04-29 04:08:09 -04:00
Eugene Yokota 3f08158bb6 Bump Scala version to 2.11.8 2016-04-29 04:00:50 -04:00
eugene yokota b285cf114d Merge pull request #2575 from eed3si9n/wip/remove_plugin
[sbt 1.0] Rename sbt.Plugin => sbt.internal.OldPlugin
2016-04-29 03:54:00 -04:00
Eugene Yokota 9517ac3e79 Remove legacy plugin from the test 2016-04-29 02:44:21 -04:00
Eugene Yokota fddbf77877 Fix tests 2016-04-29 02:12:35 -04:00
eugene yokota d5fbe99bdd Merge pull request #2543 from eed3si9n/wip/project_dsl
[sbt 1.0] Reduce sbt.Project(...) params and make settings(...) lazy
2016-04-25 10:35:39 -04:00
Eugene Yokota f4792f77d6 Fix tests 2016-04-25 05:45:48 -04:00
Eugene Yokota f6ff1f916c Rename sbt.Plugin => sbt.internal.OldPlugin 2016-04-25 05:09:39 -04:00
Eugene Yokota a20da88a45 Reduce parameters from sbt.Project.apply 2016-04-25 04:26:30 -04:00
eugene yokota 33208eae79 Merge pull request #38 from gkossakowski/scripted-logging
Scripted logger logs everything
2016-04-19 16:47:38 -04:00
Grzegorz Kossakowski 479546fd4c Merge pull request #37 from gkossakowski/scripted-tests-order
Run scripted tests in the alphabetical order
2016-04-12 20:16:51 +02:00
Grzegorz Kossakowski 9f9ac3a9cc Scripted logger logs everything
Do not filter any logging in scripted logger by setting the log level to
Debug.
The caller of ScriptedRunner passes a logger and decides the level of
logging it wants to receive. Scripted shouldn't filter anything.
2016-04-12 20:14:10 +02:00
Grzegorz Kossakowski 89e88ff584 Run scripted tests in the alphabetical order
Makes the order deterministic and makes it easier to see the progress on
running tests.
2016-04-07 12:48:45 +02:00
Grzegorz Kossakowski 5ad5591c8e Add target/ to .gitignore 2016-04-07 12:47:36 +02:00
eugene yokota 2d198ac67e Merge pull request #35 from eed3si9n/wip/warning
Remove some warnings
2016-04-01 16:11:07 -04:00
Eugene Yokota 299484cee6 Remove some warnings 2016-04-01 15:27:37 -04:00
eugene yokota 844851d6d4 Merge pull request #34 from eed3si9n/wip/eval
Eval from Cats
2016-04-01 15:10:51 -04:00
eugene yokota 818e6ba97b Merge pull request #28 from Duhemm/wip/scripted-pending-no-exception
Hide stacktrace upon failure on pending scripted test
2016-04-01 01:24:32 -04:00
Eugene Yokota 183f17c192 Rename Eval#value to get 2016-04-01 00:30:35 -04:00
Eugene Yokota 6eb808def9 Add Eval from Cats - a8ba943fff/core/src/main/scala/cats/Eval.scala 2016-04-01 00:30:35 -04:00
eugene yokota 6b6fd305ff Merge pull request #2528 from eed3si9n/wip/scripted_issue
Implements scriptedBufferLog on sbt build
2016-03-31 12:35:40 -04:00
Dale Wijnand 37c7f3febc Merge pull request #2510 from dwijnand/append-and-remove-option
Add Append & Remove instances for Option
2016-03-31 16:41:29 +01:00
eugene yokota 4806609792 Merge pull request #33 from sbt/wip/fixthread
Don't inject thread sleep by default
2016-03-31 08:40:49 -04:00
Eugene Yokota f4055e6c5f Fixes #32. Don't inject thread sleep by default.
Thread sleeping interferes with scripted test when the build cannot be
loaded. The scripted test gets stuck, and jstack shows

    java.lang.Thread.State: TIMED_WAITING (sleeping)
      at java.lang.Thread.sleep(Native Method)
      at sbt.internal.util.InputStreamWrapper.read(LineReader.scala:138)
      at
jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:2
45)
      ....
      at sbt.internal.util.JLine$.withJLine(LineReader.scala:118)
      at sbt.internal.util.JLine.readLine(LineReader.scala:18)
      at
sbt.BuiltinCommands$.sbt$BuiltinCommands$$doLoadFailed(Main.scala:460)
2016-03-31 01:28:55 -04:00
Eugene Yokota 56e840018c Bump to 0.1.0-M10 2016-03-31 01:23:34 -04:00
Eugene Yokota 63ff359aca Implements scriptedBufferLog on sbt build 2016-03-30 23:48:20 -04:00
Grzegorz Kossakowski aa0a77930a Rename incrementalcompiler to zinc
Reflect the rename of the repo to zinc in project's structure.
2016-03-31 00:02:59 +02:00
Dale Wijnand 60bc28829b Add Append & Remove instances for Option 2016-03-30 22:13:19 +01:00
Dale Wijnand f6c5be06b3 Drop sealed on Remove.Sequence 2016-03-30 22:13:19 +01:00
eugene yokota d84f82d8d4 Merge pull request #31 from sbt/wip/thread
Inject thread.sleep, which allows thread interruption during readLine
2016-03-29 15:53:46 -04:00
eugene yokota 19461668c4 Merge pull request #2524 from eed3si9n/wip/buildscala
sbt.Build => sbt.internal.BuildDef
2016-03-29 14:30:50 -04:00