Commit Graph

494 Commits

Author SHA1 Message Date
Eugene Yokota cb70228052 Bump up to the latest sxr 2017-04-30 23:40:12 -04:00
Eugene Yokota 4f8aee3cdc New sxr is needed 2017-04-30 23:40:12 -04:00
Guillaume Martres 052face8ee Fix #3013: ScriptedPlugin: Add support for paginated tests
This was already supported in the internal Scripted used by sbt but not
in the ScriptedPlugin. This is fixed by just copy-pasting the modified
parser. We will have to wait for sbt itself to be built using an sbt
with the upgraded ScriptedPlugin to be able to avoid the code duplication.
2017-03-14 16:53:06 +01:00
Eugene Yokota bf8e49edbd launcher 1.0.1 2017-03-11 00:41:00 -05:00
Eugene Yokota 48a4ff327f JLine 2.14.3
Fixes #1855
See also https://github.com/jline/jline2/issues/127
2017-03-09 15:01:50 -05:00
Eugene Yokota 07e2a9a799 Bump up Ivy
Fixes #2015
2016-11-11 14:42:48 -05:00
Eugene Yokota 462ee042ad Cross publishing to 2.12 2016-10-25 13:37:48 -04:00
eugene yokota 47a71c0ff5 Merge pull request #2794 from dwijnand/212
Cross build io (+ control) for playframework/playframework#6110
2016-10-24 13:38:33 -04:00
Dale Wijnand d32454c6e7
Cross build io (+ control) for playframework/playframework#6110 2016-10-20 22:07:33 +01:00
Eugene Yokota 9430a1e1f8 Machine formatting fix 2016-10-13 00:50:42 -04:00
Eugene Yokota 6f3bbed47e Safer template resolver
Fixes #2761

With sbt 0.13.13-RC1 rediscovered that the dependency pulled in from
Giter8 was affecting the plugins. To avoid this, this change splits up
the template resolver implementation to another module called
sbt-giter8-resolver, and it will be downloaded using Ivy into
`~/.sbt/0.13/templates/`, and then launched reflectively using Java as
the interface.
2016-10-12 20:06:10 -04:00
Dale Wijnand 682d91c3c6
Add sbt-pgp, required by publishSigned in release-sbt 2016-09-22 16:42:54 +01:00
Jaroslaw Grabowski cfe3b801e1 Support wildcard exclusions in maven resolver
The idea here is that if a dependency contains exclude with wildcards
than it is inTransitive.
2016-09-02 12:20:22 +01:00
Eugene Yokota e94147456c launchconfig 2016-08-23 16:27:52 -04:00
Eugene Yokota eaec623bbf Bump to Giter8 0.7.1 2016-08-23 00:45:17 -04:00
Eugene Yokota 456e4c2f54 straighten up dependencies 2016-08-22 18:20:32 -04:00
Eugene Yokota 954e744408 Adds templateResolvers and `new` command
This adds `new` command, which helps create a new build definition. The
`new` command is extensible via a mechanism called the template
resolver,
which evaluates the arbitrary arguments passed to the command to find
and run a template.

As a reference implementation [Giter8][g8] is provided as follows:

    sbt new eed3si9n/hello.g8

This will run eed3si9n/hello.g8 using Giter8.

  [g8]: http://www.foundweekends.org/giter8/
2016-08-22 02:38:46 -04:00
Eugene Yokota a98ec6b779 Bump to 0.13.12 2016-08-05 01:16:09 -04:00
Eugene Yokota 081a9868ce Adds a scripted test that tests repo override 2016-04-24 14:24:05 -04:00
Martin Duhem b8472668ff Static launcher, get bridge sources from resources
This commit introduces a new "static" launcher that does not use Ivy to
gather all the artifacts that it requires, but rather expect them to be
immediately available.

To be able to use sbt without Internet access, we add a new
`ComponentCompiler` that is able to retrieve the bridge sources from the
resources on classpath and compile it.
2016-04-06 12:01:34 +02:00
Dale Wijnand 511f74504a Update sbt.version to 0.13.11 2016-02-22 21:21:26 +00:00
Dale Wijnand 84cba9669c Upgrade sbt plugins. Fixes #2368
Tested manually:

  $ grep 'version.*:=' build.sbt
  version := "0.13.10-SNAPSHOT",
  $ git archive --prefix=sbt-0.13.10-SNAPSHOT/ -o ~/Desktop/sbt-0.13.10-SNAPSHOT.tgz HEAD
  $ cd ~/Desktop
  $ ls
  sbt-0.13.10-SNAPSHOT.tgz
  $ tar xfz sbt-0.13.10-SNAPSHOT.tgz
  $ cd sbt-0.13.10-SNAPSHOT/
  $ sbt info
  [info] Loading global plugins from /Users/dnw/.dotfiles/.sbt/0.13/plugins
  [info] Loading project definition from /Users/dnw/Desktop/sbt-0.13.10-SNAPSHOT/project
  [info] Updating {file:/Users/dnw/Desktop/sbt-0.13.10-SNAPSHOT/project/}sbt-0-13-10-snapshot-build...
  [info] Resolving org.fusesource.jansi#jansi;1.4 ...
  [info] Done updating.
  [warn] There may be incompatibilities among your library dependencies.
  [warn] Here are some of the libraries that were evicted:
  [warn]  * com.typesafe.sbt:sbt-site:0.8.1 -> 0.8.2
  [warn] Run 'evicted' to see detailed eviction warnings
  [info] Compiling 12 Scala sources to /Users/dnw/Desktop/sbt-0.13.10-SNAPSHOT/project/target/scala-2.10/sbt-0.13/classes...
  [info] This is sbt 0.13.9
  [info] The current project is {file:/Users/dnw/Desktop/sbt-0.13.10-SNAPSHOT/}sbtRoot 0.13.10-SNAPSHOT
  [info] The current project is built against Scala 2.10.6
  [info] Available Plugins: sbt.plugins.IvyPlugin, sbt.plugins.JvmPlugin, sbt.plugins.CorePlugin...
  [info] sbt, sbt plugins, and build definitions are using Scala 2.10.5
2016-01-16 00:24:05 +00:00
Eugene Yokota a39a5d2330 Adds more memory to internal scripted task 2016-01-08 02:15:49 -05:00
eugene yokota bfb602c29b Merge pull request #2313 from sbt/wip/refix-snapshots
Fixes #1514. Enable latest SNAPSHOT option by default
2015-12-30 10:31:07 -05:00
Eugene Yokota fd6373d8bf Bump up ivy to 2.3.0-sbt-2cc8d2761242b072cedb0a04cb39435c4fa24f9a 2015-12-30 07:21:07 -05:00
Eugene Yokota cc07ad78eb Bump up ivy to 2.3.0-sbt-39ece6f17e1af62c2e89a9d88b59c0c3aad56145
Ref sbt/ivy#21
2015-12-30 04:07:39 -05:00
Eugene Yokota 585e727a97 Include sbt-ivy-snapshots to launchconfig
Include sbt-ivy-snapshots to launchconfig
Prior to this change, the launchconfig for sbt was generated using
Transform's resource generator so releases would include
`typesafe-ivy-releases` repo, and snapshot releases would include
`typesafe-ivy-snapshots` and `sonatype-snapshots` repos in addition.
This is no longer useful since nightly builds are now published to
`sbt-ivy-snapshots` instead, which is backed by Bintray.

This removes the switching logic, so both `typesafe-ivy-releases` and
`sbt-ivy-snapshots` repos are always included into the launchconfig.
This removes the step of needing to download a launcher just to try the
nightly builds.
2015-12-29 19:48:57 -05:00
Eugene Yokota a14112720a Bump up Scala version in project/p.sbt 2015-12-14 11:38:57 -05:00
Eugene Yokota 8d2a15da6e Bumping Scala version to 2.10.6. 2015-12-14 05:26:34 -05:00
Eugene Yokota 4e8d5e827e Merge 2015-12-03 17:08:45 -05:00
Huw Giddens cbeaba0ccd Update per the changes since August. 2015-11-11 21:35:57 +11:00
Dale Wijnand 8e6e32d7cb Enable Ivy flag that fixes #1750. 2015-08-28 23:38:45 +01: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
Josh Suereth 6f8eaab026 Merge pull request #2178 from Duhemm/scripted-pending
Run pending tests in scripted, consider their successes as failures
2015-08-27 08:33:40 -04:00
Dale Wijnand 09ae28803c Fix SNAPSHOT srcs/docs with Ivy upgrade. 2015-08-25 12:42:03 +01:00
Huw Giddens 9a7b9df293 Bump jline to 2.13. 2015-08-24 16:55:41 +10:00
Dale Wijnand 553dffec39 Upgrade to 0.13.9. 2015-08-19 12:16:03 +01:00
Martin Duhem d84573c9d3 Include pending scripted tests in * and *aofb 2015-08-19 09:11:02 +02:00
Dale Wijnand 07d7cdcb51 Update scala211 to 2.11.7. 2015-08-05 23:10:56 +01:00
Pierre DAL-PRA 54d54b9f4f Replace procedure syntax by explicit Unit annotation 2015-08-04 10:07:38 +02:00
Josh Suereth eba37d84b1 Bump to latest version of ivy.
Fixes #2118
2015-07-27 16:26:39 -04:00
Dale Wijnand cb3f7d58a5 Bump sbt/serialization to v0.1.2. 2015-07-18 18:18:33 +01:00
eugene yokota 67d908a4a6 Merge pull request #2101 from sbt/0.13.9
merge 0.13.9 on 0.13
2015-07-10 16:07:05 -04:00
Pierre DAL-PRA 3ffa333c14 Fix most build warnings 2015-07-10 11:53:48 +02:00
Eugene Yokota 8cde12887e Ref #2068. Scala version bump needs to accompany scala-reflect bump. 2015-07-09 21:20:47 -04:00
Eugene Yokota 538982928a Fixes #2005. Bump to ivy 2.3.0-sbt-c5d1b95fdcc1e1007740ffbecf4eb07abc51ec93
When I went digging into Ivy's code base I discovered that it's been
checking if the repository layout pattern ends with M2_PATTERN to use
maven-metadata.xml, which for sbt would return false since we customize
the mattern -
https://github.com/apache/ant-ivy/blob/2.3.0/src/java/org/apache/ivy/plu
gins/resolver/IBiblioResolver.java#L497-L499
2015-06-25 16:39:22 -04:00
Eugene Yokota 618ac5236a Bumping up Scala version to 2.10.5/2.11.6. Fixes #1980
To pass File => Unit callback across the classloader boundary
I am encoding it as a java.util.List[File] by overriding
 method.
This was needed since Java didn't allow me to cast
from one classloader to the other.
2015-06-19 16:51:39 -04:00
Eugene Yokota 2da38b92b1 publish nightlies to bintray 2015-04-20 12:51:18 -04:00
Eugene Yokota f4dbdae3c3 publish to bintray 2015-04-20 10:56:37 -04:00
eugene yokota bb111fdac4 Merge pull request #1942 from ajozwik/patch-1
Updated to 0.13.9-SNAPSHOT
2015-03-26 09:03:56 -07:00