Commit Graph

58 Commits

Author SHA1 Message Date
Grzegorz Kossakowski e738bc3f73 Run unit tests from compileInterface on Travis CI.
Also, make the intent of the env variable clearer in travis configuration.

Fixes #2357.
2016-01-08 21:53:53 +01:00
Eugene Yokota 8d2a15da6e Bumping Scala version to 2.10.6. 2015-12-14 05:26:34 -05:00
Dale Wijnand 553dffec39 Upgrade to 0.13.9. 2015-08-19 12:16:03 +01:00
Dale Wijnand a0ac6033f6 Set version to 0.13.10-SNAPSHOT. 2015-08-03 22:18:33 +01:00
eugene yokota 5824ef6d7f Merge pull request #2106 from Duhemm/interface-specific-sources-clean
Find most specific version of compiler interface sources
2015-07-17 10:25:16 -04:00
fkorotkov 4c86117b79 Line content from diagnostic classes if available 2015-07-16 15:23:23 -04:00
Martin Duhem 8ba5b6f90e Don't set `publishMavenStyle := true` for compiler interface 2015-07-16 14:02:25 +02:00
Martin Duhem f3dc2ba282 Revive comment about sbt's build complications 2015-07-16 13:53:10 +02:00
Martin Duhem 90a8423d8e Find most specific version of compiler interface sources
This commit introduces a mechanism that allows sbt to find the most
specific version of the compiler interface sources that exists using
Ivy.

For instance, when asked for a compiler interface for Scala 2.11.8-M2,
sbt will look for sources for:

 - 2.11.8-M2 ;
 - 2.11.8 ;
 - 2.11 ;
 - the default sources.

This commit also modifies the build definition by removing the
precompiled projects and configuring the compiler-interface project so
that it publishes its source artifacts in a Maven-friendly format.
2015-07-16 11:18:48 +02:00
Josh Suereth 4abc8386f2 Merge pull request #2085 from twitter-forks/stuhood/java-static-final-fields-as-singletons
Encode static-final constant fields as Singletons
2015-07-14 12:35:56 -04: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
Stu Hood a83f5eabf2 Add missing dependency 2015-07-06 11:11:06 -07:00
Eugene Yokota 13c8d00848 Fixes #2043. bintrayRelease is repeated 20x? 2015-06-24 16:56:45 -04:00
Eugene Yokota bc163bbe3e Fix typo 2015-06-20 14:42:26 -04:00
Eugene Yokota 131e99b7c9 Skip process unit tests 2015-06-20 14:21:59 -04:00
Eugene Yokota 60e2057b15 Adds bundledLauncherProj to allProj
This matters when someone tries to locally build sbt from source.
2015-06-20 14:21:59 -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 3d90d92dbd Fixes the releasing 2015-06-09 17:20:03 +02:00
Eugene Yokota 72f8606f28 call bintrayRelease on nightly 2015-04-22 00:28:47 -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 6b89a134e7 Merge pull request #1946 from dwijnand/rename-root-project-to-sbtRoot
Rename root project to sbtRoot.
2015-04-07 14:50:27 -07:00
Dale Wijnand f4e692ca88 Rename root project to sbtRoot.
This is mostly for IntelliJ IDEA.

Currently IntelliJ IDEA's Scala (and SBT) plugin defines:

* the project name (as seen in the window title and in the "open recent
  project" list) from `name`
* the root module (as seen in the project view and in project structure)
  from `id`
* doesn't use `moduleName` at all

After this change the sbt project is no longer identified as "root".

I was undecided between `sbtRoot` and `sbtRootProj`, and went with the
shorter option. I'm happy to revise this decision.
2015-03-27 01:35:36 +00:00
Dale Wijnand 5c2ec63fa6 Make use of the nicer Project settings syntax in 0.13.8. 2015-03-27 01:19:26 +00:00
Josh Suereth 74a9c047f8 Merge pull request #1938 from sbt/wip/launcher-as-module
Removing launcher in favor of re-wrapping sbt/launcher module
2015-03-26 08:13:46 -04:00
Josh Suereth 004a557c37 Remove unused proguard configuration. 2015-03-24 18:37:57 -04:00
Josh Suereth a28663f06d fix launcher re-publication.
* The rebundled sbt launcher is now pushed into the old location again.
2015-03-24 18:32:56 -04:00
Josh Suereth a77a6fbc0b Add sonatype-snapshots resolver to the list for the launcher module snapshots. 2015-03-24 16:16:55 -04:00
Josh Suereth 9380ca02eb Migrate to using the sbt/launcher module, rather than having the code embedded.
* Remove launch/* code/tests, as these are in the sbt/launcher project.
* Create a new project which will resolve launcher module from sonatype-snapshots,
  and repackage it for the currently building version of sbt.
* Remove ComponentManagerTest which was relying DIRECTLY on launcher classes.
  We'll need to reconfigure this shortly to enable the tests again.

Remaining TODOs -

* Update resolvers so people can find the launcher.
* Add ComponentManagerTest back.
* Re-publish the sbt-launch.jar in the location it used to be published.
2015-03-24 16:12:51 -04:00
Josh Suereth 8e0862b011 Start using launcher interface from sbt/launcher module. 2015-03-24 11:14:13 -04:00
Eugene Yokota efd0c5a2e5 0.13.9-SNAPSHOT 2015-03-23 13:27:27 -04:00
Eugene Yokota 80291d95e7 bumping up to 0.13.8 2015-03-20 12:56:39 -04:00
Eugene Yokota b70fa6e0c2 Use pickler to cache UpdateReport for update task. #1763 2015-03-09 21:22:58 -04:00
Eugene Yokota ef1ec99bd0 Implement pickler for UpdateReport. #1763 2015-03-09 21:22:57 -04:00
Eugene Yokota 720e982507 Remove "so clean" 2015-03-09 12:57:52 -04:00
Eugene Yokota c384d6c2e4 Fixing precompiled and nightly build
We noticed that -SNAPSHOT is being published as our nightly.
This is because "wow" command (or ++) does not replay version injected
by stamp-version.
2015-02-25 12:31:21 -05:00
Eugene Yokota 4e3f614fd5 Adds release-nightly command 2015-02-20 21:09:43 -05:00
Eugene Yokota 2c82d339d7 Fix nightly publishing location by demoting publish-status to ThisBuild 2015-02-17 23:43:09 -05:00
Eugene Yokota ebfece10b9 Exclude precompiled from doc 2015-02-17 13:45:51 -05:00
Eugene Yokota 989446fbe6 Revert "remove precompiled compiler bridges"
This reverts commit f2e5d48b6b.
2015-02-17 13:33:54 -05:00
Eugene Yokota 8dbed8ad88 Split proguarded launcher out to a subproject 2015-02-06 14:40:19 -05:00
Eugene Yokota ea9e6b0a73 Fix stamp-version for nightlies 2015-02-06 14:40:19 -05:00
Eugene Yokota f2e5d48b6b remove precompiled compiler bridges
- Scala 2.8.x or 2.9.x are no longer used that often.
- Precompiled is a cross build liability as sbt (2.10.4) depends on 2.8.x/2.9.x code.
- Scripted test was modified to check 2.8 and 2.9 compilation
2015-02-03 19:36:45 -05:00
Eugene Yokota adddf3ed49 Removes interfaceProj/compile and adds comment. 2015-02-03 11:48:30 -05:00
Eugene Yokota 883792e3c3 sbt-doge 0.1.3 2015-02-03 00:40:19 -05:00
Eugene Yokota f65712e90d Fix build 2015-02-02 22:44:02 -05:00
Eugene Yokota f42419bdd4 Adds addMavenResolverPlugin. #1808/#1793 2015-02-02 14:57:25 -05:00
Eugene Yokota 75e7b47718 Run scripted with sbt-maven-resolver 2015-01-12 22:01:16 -05:00