Commit Graph

4583 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 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 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 63ff359aca Implements scriptedBufferLog on sbt build 2016-03-30 23:48:20 -04: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 19461668c4 Merge pull request #2524 from eed3si9n/wip/buildscala
sbt.Build => sbt.internal.BuildDef
2016-03-29 14:30:50 -04:00
Eugene Yokota 7bc903446c Port dependency-management/invalidate-internal 2016-03-29 13:17:33 -04:00
Eugene Yokota e57215e240 Fix test 2016-03-29 13:11:42 -04:00
Eugene Yokota 259b6ccb17 Port tests/test-quick 2016-03-29 02:39:54 -04:00
Eugene Yokota ee17a8586c Port tests/test-exclude 2016-03-29 02:39:47 -04:00
Eugene Yokota f934ba0211 Port tests/t543 2016-03-29 02:35:37 -04:00
Eugene Yokota 85b9a78245 Port tests/serial 2016-03-29 02:33:48 -04:00
Eugene Yokota 1a8149568e Port tests/junit-xml-report 2016-03-29 02:28:48 -04:00
Eugene Yokota ef511d7582 Port tests/it 2016-03-29 02:25:31 -04:00
Eugene Yokota 248766afac Port tests/fork-parallel 2016-03-29 02:21:45 -04:00
Eugene Yokota 0802e102ac Port tests/fork 2016-03-29 02:19:54 -04:00
Eugene Yokota 2c6138753e Port source-dependencies/replace-test-a 2016-03-29 02:17:19 -04:00
Eugene Yokota cc507a0cb7 Port source-dependencies/binary 2016-03-29 02:16:02 -04:00
Eugene Yokota 0571b8ec17 Port project/src-plugins 2016-03-29 02:13:03 -04:00
Eugene Yokota 8d608a2a84 Port project/sbt-file-projects 2016-03-29 02:10:44 -04:00
Eugene Yokota 8e3f7f5f10 Remove old style rootProject test 2016-03-29 02:07:12 -04:00
Eugene Yokota 576bb4d42f Port project/provided 2016-03-29 02:04:16 -04:00
Eugene Yokota 060f06d23e Remove old style multi project test 2016-03-29 01:58:58 -04:00
Eugene Yokota 5cbb2edcee Port project/flatten 2016-03-29 01:58:06 -04:00
Eugene Yokota d01f8d3c1b Port project/extra 2016-03-29 01:54:58 -04:00