Indrajit Raychaudhuri
bd8d1c0698
Support for simple exclusion rules in inline dependencies
...
This support excluding a library from the dependency tree for a given
set of `ExclusionRule`s. There are two ways to achieve this:
- Using `organization` and `name` pairs:
val dep = "org" % "name" % "version" exclude("commons-codec", "commons-codec") exclude("org.slf4j", "slf4j-log4j")
- Using `ExclusionRule`:
val dep = "org" % "name" % "version" excludeAll(ExclusionRule("commons-codec", "commons-codec"), ExclusionRule("org.slf4j", "slf4j-log4j"))
2011-09-10 04:32:47 +05:30
Mark Harrah
0283ad2fc8
prefix automatic imports with _root_. Fixes #173 .
2011-09-09 18:39:10 -04:00
Indrajit Raychaudhuri
450fa15c0e
Expose snapshot flag via standard `SettingKey`
2011-09-09 18:35:57 +05:30
Mark Harrah
f096d76cf6
'skip' description
2011-09-04 13:33:40 -04:00
Mark Harrah
370145994f
Revert modifying publishMavenStyle based on sbtPlugin.
2011-09-04 13:33:40 -04:00
Mark Harrah
b3291dc4ee
Print names of Plugins on classpath in 'about' command.
2011-09-03 17:30:38 -04:00
Mark Harrah
fc3ebb7436
don't interpret files with exact name '.sbt' as quick configurations
2011-09-03 17:30:38 -04:00
Mark Harrah
5420a48a87
on-load message customizable, more specific message for plugin projects
2011-09-03 17:30:37 -04:00
Mark Harrah
8938fc564e
fix includeFilter in unmanagedJars reference
2011-09-03 17:30:37 -04:00
Mark Harrah
228b245d2d
make filter changes more backwards compatible. ref #165
2011-09-03 14:59:34 -04:00
Mark Harrah
14bf0886c9
Revert "scalacOptions, javacOptions in Compile in project/plugins/ affect build definitions"
...
This reverts commit 5793a3c66cd47087562072b69fb21d262cbbd0bc in favor of migrating project/plugins/
to project/, which makes project/ a proper project.
Conflicts:
main/Load.scala
2011-09-03 14:59:34 -04:00
Mark Harrah
a824aa97e5
migrate project/plugins/ contents to project/. fixes #166
2011-09-03 14:59:34 -04:00
Mark Harrah
d145fcc457
scalacOptions, javacOptions in Compile in project/plugins/ affect build definitions. fixes #166
2011-09-03 14:59:34 -04:00
Mark Harrah
f515a0e8b6
Merge pull request #165 from indrajitr/0.11
...
Externalize resourceFilter configuration
2011-09-03 07:51:46 -07:00
Indrajit Raychaudhuri
7f9adf31b8
Add start-year for compliance in ProjectInfo
2011-09-03 02:19:08 +05:30
Indrajit Raychaudhuri
5614243ce9
Make include and exclude filters more consistent in name and behavior.
...
GlobalScope has conservative default with task specific filters explicitly modified.
2011-09-03 02:09:25 +05:30
Mark Harrah
02f666ec0e
miscellaneous fixes
2011-08-31 20:59:40 -04:00
Indrajit Raychaudhuri
434d7f2322
organizationName and organizationHomepage need not be set in GlobalScope
2011-08-31 20:34:40 +05:30
Mark Harrah
65ae7dab1c
switch publishMavenStyle off when project is an sbt plugin
2011-08-30 09:16:33 -04:00
Mark Harrah
0c2cb33d7b
Undeprecate conversions to ScopedKey
2011-08-28 13:30:11 -04:00
Mark Harrah
1471081c0d
test to ensure correctness of local resolver+useOrigin in ivysettings.xml
2011-08-27 23:13:10 -04:00
Mark Harrah
febe7e56e1
fix binary dependency recompilation problem introduced by fix for #108
2011-08-27 11:54:16 -04:00
Mark Harrah
565cd3802f
fix dependsOn breakage from Initialize rework
2011-08-26 23:27:03 -04:00
Mark Harrah
039982ab1e
better default for traces in run
2011-08-26 23:27:03 -04:00
Mark Harrah
bf1d471118
rearrange watchSources construction to automatically add sources for new configurations
2011-08-26 23:27:03 -04:00
Mark Harrah
faeb9e2fb1
Make 'package' an alias for 'package-bin'. Fixes #156
2011-08-23 19:53:33 -04:00
Mark Harrah
9ebf809259
test for separate configuration of doc sources
2011-08-23 19:51:51 -04:00
Mark Harrah
71a346bd4c
support separate configuration of doc inputs
2011-08-22 22:48:35 -04:00
Mark Harrah
49b85384e7
use -Yrepl-sync for console-project to avoid deadlock on REPL startup in 2.9
2011-08-19 22:13:56 -04:00
Mark Harrah
6ea27e893b
handle Scala version better in 'about' command
2011-08-18 08:23:43 -04:00
Mark Harrah
d36e02ea22
allow setting initialization to be partially dynamic and run in parallel
2011-08-14 10:53:37 -04:00
Mark Harrah
f7f6879f5e
provide access to some project structure as a setting
2011-08-14 10:53:37 -04:00
Mark Harrah
18b57bb101
fix ++ command to not require a space after it
2011-08-14 10:53:37 -04:00
Mark Harrah
90f25b234e
Settings overhaul, intended to be source compatible where it matters.
...
Moves many methods previously provided by implicit conversions directly onto the classes
for better discoverability, especially with scaladoc.
1. Initialize now allowed in more places. Minor renamings in Initialize to avoid conflicts
a. map -> apply
b. get -> evaluate
2. Identity on Scoped* is deprecated- it is now redundant
3. Can now use += and <+= for String, Int, Long, Double settings.
There may be some problematic corner cases in inference, especially with +=, ++, <+=, <++=
4. Some classes with a scoped: ScopedKey[T] method now have scopedKey: ScopedKey[T] instead.
5. The implicit conversion to ScopedKey[T] is now deprecated. Use the scopedKey method.
6. :== and ::= are now private[sbt] to better reflect that they were internal use only.
2011-08-14 10:53:37 -04:00
Josh Suereth
95b8c34627
Changed skip to be a Task so we can dynamically compute it's value based on a file
2011-08-12 13:30:21 -04:00
Indrajit Raychaudhuri
b57e8cd17a
Hava scaladocOptions in GlobalScope for consistency
2011-08-11 01:05:30 +05:30
Indrajit Raychaudhuri
952089bf92
Add well-known main manifest attributes by default for binary and source jars
2011-08-08 20:57:18 +05:30
Mark Harrah
10aa2d67c6
use sbt version in target path for sbt plugins
2011-08-05 21:59:49 -04:00
Mark Harrah
70dcae84ee
preserve key+configuration ambiguity through task+extra parsing. fixes #135
2011-08-05 21:59:49 -04:00
Mark Harrah
1d4d566d6b
support use of native libraries in 'run' and 'test'
2011-08-05 21:56:32 -04:00
Mark Harrah
29db8dbe8d
include native libraries on unmanaged classpath
2011-08-05 21:56:32 -04:00
Mark Harrah
93801cd946
temporary directory for use by tasks that will be cleaned up after task execution
2011-08-05 21:56:32 -04:00
Mark Harrah
f065037572
onComplete hook for cleanup after task execution
2011-08-05 21:56:32 -04:00
Indrajit Raychaudhuri
bb75b74eb6
Remove some deprecations and redundant code
2011-08-05 13:30:04 +05:30
Mark Harrah
980e906ca1
handle custom -bootclasspath in incremental recompilation
2011-08-04 07:20:25 -04:00
Mark Harrah
a19d5a799c
try out simplified display of scoped keys
2011-08-04 07:20:25 -04:00
Mark Harrah
70113c88fa
remove special case for display for 'compile' configuration
2011-08-04 07:20:25 -04:00
Indrajit Raychaudhuri
67102aadff
- Extra Settings are now available to control project information, viz., name, description, homepage, organization name, organization homepage, licenses
...
- Modified name/signature of some private types/methods to reduce confusion (all in limited scope, so nothing should change from end user's pov)
- Enriched Ivy and Maven descriptors produced out of the box (see Keys.scala and Defaults.scala for more)
- Projects do not need to create custom Ivy <info/> block anymore, there is more settings-specific control instead
2011-08-03 08:49:46 +05:30
Mark Harrah
e67b3be331
allow Defaults.packageTasks to be used in global configuration
2011-08-01 14:23:42 -04:00
Mark Harrah
a6ef6481ac
use configurations for modules for update-classifiers. fixes #104
2011-07-31 22:17:50 -04:00