Dale Wijnand
2bc5ba02f3
Add three more missing WeakTypeTags
...
.. accidentally removed in 12c2734052
2017-03-27 14:36:56 +01:00
Guillaume Martres
747aa48c9c
Fix inputTaskDyn not working
...
This fixes the following error when trying to use inputTaskDyn in a build:
[error] /tmp/sbt_8316130f/input-task-dyn/build.sbt:11: error: Macro
expansion contains free type variable T defined by wrap in
InputConvert.scala:76:20. Have you forgotten to use c.WeakTypeTag
annotation for this type parameter? If you
have troubles tracking free type variables, consider using -Xlog-free-types (out-1)
[error] runFoo := Def.inputTaskDyn { (out-1)
[error] ^ (out-1)
[info] [error] sbt.compiler.EvalException: Type error in expression (out-3) (out-1)
I have no idea what the error means, I just implemented the suggested fix.
2017-03-24 17:41:14 +01:00
eugene yokota
317085a458
Merge pull request #3031 from eed3si9n/wip/bump_modules
...
Bump underlying modules to latest
2017-03-23 22:19:53 -07:00
Eugene Yokota
9ca3d9006c
Zinc no longer compiles 2.11.0 or 2.11.1
2017-03-24 00:16:01 -04:00
Eugene Yokota
742c9c1762
adjust to Zinc change
2017-03-23 16:35:39 -04:00
Eugene Yokota
c96630d6a6
Fixed by sbt/zinc#240
2017-03-23 16:15:26 -04:00
Eugene Yokota
bb9db97824
withNameHashing(true) is removed
2017-03-23 15:59:09 -04:00
Eugene Yokota
e6d11ed83d
Fix the bridge selection
2017-03-23 15:51:16 -04:00
Eugene Yokota
b6d8b565de
Codegen change
2017-03-23 14:30:51 -04:00
Eugene Yokota
180bdfd129
Bump underlying modules to latest
2017-03-23 12:41:24 -04:00
Dale Wijnand
4e29083f3b
Merge pull request #3033 from xuwei-k/isSnapshot-the-the
...
fix typo
2017-03-21 08:20:04 +00:00
Dale Wijnand
e430c223da
Merge pull request #3034 from xuwei-k/testing-sbt-plugins-url
...
update "Testing sbt plugins" url
2017-03-21 08:19:47 +00:00
xuwei-k
52dc8cca68
update "Testing sbt plugins" url
2017-03-21 16:49:36 +09:00
xuwei-k
f04dbe50bf
fix typo
2017-03-21 16:45:42 +09:00
Dale Wijnand
cb756f5443
Merge pull request #3016 from xuwei-k/Class-newInstance
...
s/newInstance/getDeclaredConstructor().newInstance()
2017-03-15 10:25:01 +01:00
xuwei-k
5b00e7326b
s/newInstance/getDeclaredConstructor().newInstance()
...
java.lang.Class#newInstance deprecated since Java 9
http://download.java.net/java/jdk9/docs/api/java/lang/Class.html#newInstance--
```
Deprecated. This method propagates any exception thrown by the nullary constructor, including a checked exception. Use of this method effectively bypasses the compile-time exception checking that would otherwise be performed by the compiler. The Constructor.newInstance method avoids this problem by wrapping any exception thrown by the constructor in a (checked) InvocationTargetException.
The call
clazz.newInstance()
can be replaced by
clazz.getDeclaredConstructor().newInstance()
The latter sequence of calls is inferred to be able to throw the additional exception types InvocationTargetException and NoSuchMethodException. Both of these exception types are subclasses of ReflectiveOperationException.
Creates a new instance of the class represented by this Class object. The class is instantiated as if by a new expression with an empty argument list. The class is initialized if it has not already been initialized.
```
2017-03-15 11:53:49 +09:00
eugene yokota
c6b593df95
Merge pull request #2990 from valydia/1.0.x
...
Add logging of the name(s) of build files
2017-03-09 14:46:19 -05:00
eugene yokota
00113e7133
Merge pull request #2962 from ekrich/wip/fix-2551
...
Fix #2551 : scripted mode ignores quotation
2017-03-09 14:45:13 -05:00
eugene yokota
84502e7712
Merge pull request #2935 from dwijnand/query-settings
...
Query settings
2017-03-05 11:58:07 -05:00
Dale Wijnand
5cedfab81e
Bring back global project-axis reference
2017-03-05 13:42:17 +00:00
Dale Wijnand
07e2da9d85
Don't breach responsibility, NetworkChannel
...
Only depend on BuildStructure and currentBuild, not the whole of State!
2017-03-05 13:42:16 +00:00
Dale Wijnand
bf5bc46d3c
Disallow SettingQuery relying on currentProject
...
Introduce a specialised scopedKeyParser on SettingQuery to redefine the
"projectRef" parser to never match "*" or omitted project refereneces.
2017-03-05 13:42:16 +00:00
Dale Wijnand
b282ea51d7
Extract Act.taskKeyExtra
2017-03-05 13:42:15 +00:00
Dale Wijnand
206c3e6d4d
Introduce Def displayBuildRelative/showBuildRelativeKey
2017-03-05 13:42:15 +00:00
Dale Wijnand
f09897ca29
Drop aggregation in querying settings
2017-03-05 13:42:14 +00:00
Dale Wijnand
2efacb8c46
Delete SettingQuery instances we don't need
...
.. now that there's a copy in the git history
2017-03-05 13:42:14 +00:00
Dale Wijnand
d9d741851a
Add and handle GetSetting
2017-03-05 13:42:11 +00:00
Dale Wijnand
164b0fe830
Pass State to NetworkChannel
2017-03-05 13:40:50 +00:00
Dale Wijnand
1ef59759cc
Extract onExecCommand
2017-03-05 13:40:49 +00:00
Dale Wijnand
4b88378c61
Delete stale contraband classes
...
This is due to sbt/contraband#75 .
2017-03-05 13:40:11 +00:00
valydia
047a061812
Add logging of the name(s) of build files
...
Fixes #1911
2017-03-04 14:13:39 +00:00
Dale Wijnand
ef56db9885
Merge pull request #2986 from dwijnand/compile-warnings
...
Fix a bunch but not all compile warnings
2017-03-04 01:36:30 +01:00
Dale Wijnand
7d27682fb2
Find another way to avoid unused warnings
2017-03-03 10:47:36 +01:00
eugene yokota
2c189d58e2
Merge pull request #2981 from dwijnand/build-warnings
...
Fix build warnings
2017-03-03 10:38:32 +01:00
Dale Wijnand
e67cd6948b
Fix a bunch but not all compile warnings
2017-03-03 01:33:44 +01:00
Dale Wijnand
b59258c50d
Fix build warnings
2017-03-02 14:44:01 +01:00
Dale Wijnand
d547b46ea6
Merge pull request #2973 from ashawley/contributing-1.0
...
CONTRIBUTING: Update for 1.0.x
2017-02-23 21:20:30 +00:00
Aaron S. Hawley
168f141616
CONTRIBUTING: Update for 1.0.x
...
Current development branch is 1.0.x, not 0.13. Mostly fixed by
replacing 0.13 references with 1.0 ones.
2017-02-23 15:50:47 -05:00
eugene yokota
105fcb5237
Merge pull request #2965 from cunei/wip-bridge
...
Update scalaCompilerBridgeSource
2017-02-15 14:42:07 -08:00
Antonio Cunei
b2bd1f745f
Update scalaCompilerBridgeSource
2017-02-15 14:42:24 +01:00
Eric K Richardson
3c0257d11c
Merge branch '1.0.x' into wip/fix-2551
2017-02-14 10:39:24 -05:00
ekrich
b97d68a214
Fix #2551 : scripted mode ignores quotation
2017-02-14 10:29:58 -05:00
Dale Wijnand
517cbf6d2d
Merge pull request #2957 from dluc/patch-1
...
Fix typo on sbtVersion description
2017-02-09 20:16:12 +00:00
Devis Lucato
9fd3218eff
Fix typo on sbtVersion description
2017-02-09 12:13:58 -08:00
Dale Wijnand
f04bc2911d
Merge pull request #2956 from eed3si9n/wip/allsyntax
...
[sbt 1.0] Remove sbt.syntax
2017-02-08 09:33:53 +00:00
Eugene Yokota
57b1b5baa9
Remove sbt.syntax
2017-02-08 02:26:50 -05:00
eugene yokota
fc92bc50f0
Merge pull request #2942 from eed3si9n/topic/generators
...
[sbt 1.0] Support sourceGenerators += Def.task { ... }
2017-02-06 17:36:08 -05:00
eugene yokota
ba28c00a1a
Merge branch '1.0.x' into topic/generators
2017-02-06 16:17:21 -05:00
eugene yokota
6b5f0980e8
Merge pull request #2940 from eed3si9n/wip/2706
...
[fport] Configurable explicit list of artifacts for Scala binary version check
2017-01-24 12:40:02 -05:00
Dale Wijnand
26a8b0816a
Merge pull request #2937 from eed3si9n/wip/notuples
...
Migrate tuple usage in Defaults.scala to 0.13 build.sbt DSL
2017-01-24 17:18:26 +00:00