Commit Graph

692 Commits

Author SHA1 Message Date
Eugene Yokota 4b0fcf354d Reproduce "configuration not public" on local test->test. #1827 2016-02-26 17:41:31 -05:00
Eugene Yokota c1760fdc3c Move intransitive warning to update. Ref #2127 2016-02-26 17:40:07 -05:00
Eugene Yokota 5a0df33293 Adds test for #2466 per review 2016-02-25 23:09:37 -05:00
Eugene Yokota cd373c99ad Add useJCenter setting, which is set to false. Fixes #2217
Adds a new setting `useJCenter`, which is set to `false` by default.
When set to `true`, JCenter will be placed as the first external
resolver to find library dependencies.

The implementation of `externalResolvers` is changed to incorporate the
setting by calling `Resolver.reorganizeAppResolvers`. These changes
were required because `externalResolvers` uses whatever that's in the
launchconfig, which the build user may not upgrade.
2016-02-25 23:02:16 -05:00
eugene yokota e54475690c Merge pull request #2478 from Duhemm/wip/update-incrementalcompiler
Forward port "Handle source, docs artifacts correctly for Ivy [1.0.x]" + update modules
2016-02-25 08:36:19 -05:00
Martin Duhem 5e16bbacca Mark scripted `dependency-management/pom-type` as pending
It has changed and will be re-enabled by changes that have not yet been
forward-ported from sbt 0.13.
2016-02-25 07:14:20 +01:00
Martin Duhem 33a7f6395a Adapt scripted tests to recent API changes 2016-02-24 21:32:48 +01:00
Martin Duhem 20d0c41473 Update to latest util, incrementalcompiler and librarymanagement 2016-02-24 16:54:03 +01:00
Grzegorz Kossakowski 0f5f818c73 Move `trait-member-modified` to source-dependencies
It's not clear what the distinction between compiler-project and
source-dependencies scripted tests is so let's stick to the one that has
the biggest number of tests for incremental compiler.
2016-02-23 15:44:12 +01:00
Grzegorz Kossakowski 07ff2d8e26 Add a pending test for a modified member of a trait
The test shows that name hashing optimization is broken for members
defined in traits. The problem is that modification of a member of a trait
triggers change of a hash of trait's name.

The behavior covered by this test regressed in
40ebc82531
The bug is tracked in #2436.
2016-02-23 15:44:12 +01:00
Dan Sanduleac 42ad2fcf05 Get rid of sources/docs configurations 2016-02-09 11:37:52 +00:00
Tim Harper 2eda2ebd46 bugfix - apply autoImports for global plugins at global configuration stage
Previously, the autoimports for globally defined plugins were not
imported for global configuration files, although they were imported for
project configuration files.

This patch causes an additional plugin discovery phase to happen during
global config evaluation, so that auto-plugins can be detected and their
imports subsequently included.
2016-01-18 21:43:32 -07:00
Grzegorz Kossakowski f34085e31e Upgrade Scala version in scripted tests
Both continuations and macro-config set scalaVersion explicitly but since
sbt relies now on Scala 2.10 it's not needed anymore. In particular, we
can upgrade continuations to 2.10 which makes it easier to work with Java
8.
2016-01-17 16:27:54 +00:00
Eugene Yokota 6c1b054249 Adds bootIvyConfiguration to grab compiler bridge source. Fixes #2336
Forward-port of #2337.

As described in #2336, I noticed that when using 0.13 nightly from
Bintray, sbt was unable to locate the compiler source.
Since `updateSbtClassifiers` is already set up to download sbt's own
sources, the `ivyConfiguration` should be reused. However, `compilers`
is a derived task, which is unable to depend on a scoped key.
To workaround this I had to create a new key called
`bootIvyConfiguration`. This should now use the metabuild's resolvers
to download the compiler bridge source.
2016-01-16 16:11:51 +00:00
Eugene Yokota 7bb934ff8c fix scripted dependency-management/cache-update 2015-10-02 02:35:31 -04:00
Eugene Yokota 7c7ed07dd4 fix scripted dependency-management/cache-update 2015-10-02 01:32:41 -04:00
Eugene Yokota de9e68da52 fix dependency-management/scala-home 2015-10-02 00:39:18 -04:00
Eugene Yokota 5c5cf1ad6a dependency-management/ivy-settings-a started working again
There's a part where it hits Maven Central to get the compiler
interface.
It probably synced.
2015-10-02 00:35:29 -04:00
Eugene Yokota f14692f0b1 changes due to bumping up librarymangement to 0.1.0-M4 2015-10-02 00:25:45 -04:00
Eugene Yokota 5b9d90e089 set dependency-management/ivy-settings-a pending 2015-10-01 23:28:52 -04:00
Eugene Yokota 814ceeab79 librarymanagement 0.1.0-M3 to use internal syntax 2015-10-01 23:28:27 -04:00
Eugene Yokota 21f0315544 set project-load/sha-conflict to pending 2015-10-01 15:46:28 -04:00
Eugene Yokota 98dfeda7c3 Fixes scripted source-dependencies/inherited-macros 2015-10-01 15:43:41 -04:00
Eugene Yokota 08515c3329 Fixes scripted source-dependencies/abstract-type-override 2015-10-01 15:41:05 -04:00
Eugene Yokota 3f5c7c747a set project/source-plugin to pending 2015-10-01 15:38:30 -04:00
Eugene Yokota 725dd28149 set project/continuations to pending 2015-10-01 15:37:02 -04:00
Eugene Yokota f926a39187 set ivy-deps-management/update-classifiers-snapshot-srcs to pending
See also sbt/librarymanagement#7
2015-10-01 15:32:32 -04:00
Eugene Yokota 7688517c38 Fixes java/no-scala-tool 2015-10-01 15:21:24 -04:00
Eugene Yokota e37de734f5 Make dependency-management/gh-1484-npe pending
We don't have sbt plugins yet for 1.0.
2015-10-01 04:04:54 -04:00
Eugene Yokota 0e5e7e2826 Fix dependency-management/exclude-scala 2015-10-01 04:01:36 -04:00
Eugene Yokota b8bc58d248 Fix dependency-management/artifact 2015-10-01 03:58:20 -04:00
Eugene Yokota 6542886681 Fix scripted/compiler-project tests 2015-10-01 03:40:25 -04:00
Eugene Yokota b81a6cc2da Fix scripted api tests 2015-10-01 03:27:24 -04:00
Eugene Yokota 4b154cbe7a Fix actions/join test 2015-10-01 03:03:44 -04:00
Eugene Yokota b92b2c7109 Mechanically add import Import._ 2015-10-01 02:45:38 -04:00
Eugene Yokota 9eb718ae45 Fixes actions/depends-on 2015-10-01 01:57:02 -04:00
Martin Duhem e12d7c7657 Add content of old `sbt.classpath` to `object Import` 2015-09-30 11:30:38 +02:00
Martin Duhem 9d9d449485 Fix source-dependencies/macro-annotation 2015-09-30 11:30:19 +02:00
Martin Duhem da6fa75f92 Change binarySbtVersion for maven resolver plugin, fix some builds 2015-09-29 19:16:45 -04:00
Martin Duhem 72edbfa177 Create `object Import` for source compat 2015-09-29 19:16:45 -04:00
Martin Duhem c981abd295 Fix all imports 2015-09-14 14:28:09 +02:00
Josh Suereth f6895b6f00 Merge pull request #2163 from dwijnand/fix/1750
Fix SNAPSHOT srcs/docs with Ivy upgrade.
2015-08-27 08:34:09 -04:00
Martin Duhem 2bed67a44d Disable test dependency-management/mvn-local
It is very flaky with Travis.
2015-08-27 09:54:20 +02:00
Dale Wijnand caa0f9c010 Move update-classifiers-snapshot-srcs as it fails with MavenResolverPlugin. 2015-08-25 22:03:12 +01:00
Dale Wijnand 7abe7a95a4 Add updateClassifiers SNAPSHOT srcs test.
Currently fails with:
    [info] java.lang.AssertionError: assertion failed: Bippy should contain def release = 2, contents:
    [info] package t
    [info]
    [info] object Bippy {
    [info]   def release = 1
    [info] }

Also fails with MavenResolverPlugin.. :(
2015-08-25 12:42:01 +01:00
Martin Duhem 337bca1c74 Disable project / session-save 2015-08-19 16:16:16 +02:00
Martin Duhem 29e6764a05 Mark passing pending scripted tests as passing
The following scripted tests are pending but pass:

 - dependency-management / gh-1484-npe
 - source-dependencies / implicit-search-companion-scope
 - tests / arguments-new

The test dependency-management / publish-local passes but is considered
as flaky, and is thus disabled (see
6424adadcb).
2015-08-19 11:29:13 +02:00
Martin Duhem ca1de3836e Mark test source-dependencies/trait-super as fixed
It appears to have been fixed by #2160
2015-08-18 15:17:37 +02:00
Martin Duhem 40ebc82531 Include private members in API hash of traits.
During compilation, scalac generates getters and setters for the fields
of traits, regardless of their access modifiers. Therefore, when a
field of a trait is modified, all its implementors must be recompiled to
take these changes into account.

Private fields of traits were not included in the API hash of traits,
and their implementors were thus not recompiled when modified.

This commit changes the way the API hash is computed for traits only, so
that the generated hash includes the private members of traits.

Fixes sbt/sbt#2155
2015-08-17 11:59:48 +02:00
Dale Wijnand a432c3def1 Merge remote-tracking branch 'origin/0.13.9' into merge-0.13.9-into-0.13
* origin/0.13.9:
  Notes
  0.13.9
  cached resolution: use mutable map to speed up breakLoops
  cached resolution: don't include callers from evicted modules
  Add debug logs
  Fixes #2129. break up circular dependency loops in cached resolution
  try breaking circular dependency and continue sorting
  refactored to use less stack space
  make sortModules tailrec
  Reproduce stack overflow using cached resolution with circular dependency
2015-08-11 22:42:31 +01:00