Cedric Beust
197d576440
Merge branch 'master' of github.com:cbeust/kobalt
2017-04-08 11:12:06 -07:00
Cedric Beust
f276eb3001
Merge pull request #400 from rhencke/reduceJarAssemblyTime
...
Reduce time spent in JAR/ZIP assembly.
2017-04-08 11:12:01 -07:00
Cedric Beust
c9e61e49a9
Any nonexistent version will cause Kobalt to use local build directories.
...
Relaxes the restriction for that version to be +1.
2017-04-08 11:08:17 -07:00
Robert Hencke
713faa7a3f
Reduce time spent in JAR/ZIP assembly.
...
Locally, this reduces a run of kobaltw assemble --noIncremental
on the Kobalt codebase itself from 47 seconds to 25 seconds.
When JarInputStream.nextEntry is invoked, the stream sets its position
and length so that it can directly be used to read the underlying content
associated with the entry. This avoids the need to call
JarFile(localFile).getInputStream(entry) and the cost associated with it.
addEntry has a slight change of semantics due to this change - it is now
the caller's responsibility to close the associated input stream. The two
existing calls to the method were adjusted accordingly.
2017-04-08 13:11:41 -04:00
Cedric Beust
f7cb803edc
Typo.
2017-04-08 09:29:27 -07:00
Cedric Beust
ebf272bf98
Upload kobalt-wrapper to bintray too.
2017-04-08 07:53:45 -07:00
Cedric Beust
821752bdb9
1.0.58.
2017-04-07 19:39:36 -07:00
Cedric Beust
5fac88b1f7
GH-391: "provided" dependencies are no longer used to compile.
...
Fixes https://github.com/cbeust/kobalt/issues/391
2017-04-07 19:39:21 -07:00
Cedric Beust
9db54e24e4
No longer used.
2017-04-07 19:12:51 -07:00
Cedric Beust
8aa122f007
1.0.57.
2017-04-07 19:09:13 -07:00
Cedric Beust
cb7a8a5fb8
GH-393: run now runs from the project's directory.
...
Fixes https://github.com/cbeust/kobalt/issues/393
2017-04-07 19:06:48 -07:00
Cedric Beust
a50d349fd6
Merge branch 'master' of github.com:cbeust/kobalt
2017-04-07 15:26:53 -07:00
Cedric Beust
51090ad8b4
Tests for optional dependencies.
2017-04-07 15:26:11 -07:00
Cedric Beust
7e6c68c689
Fix test.
2017-04-07 15:19:17 -07:00
Cedric Beust
40ab79456b
Name for the filter.
2017-04-07 15:16:53 -07:00
Cedric Beust
9c73bc717a
Not used.
2017-04-07 15:15:42 -07:00
Cedric Beust
dca28669d1
1.0.55.
2017-04-07 12:29:15 -07:00
Cedric Beust
e19b3472a7
GH-392: Make collect() return both File and id.
...
Fixes https://github.com/cbeust/kobalt/issues/392
2017-04-07 12:29:10 -07:00
Cedric Beust
5ae20fb253
JUnit 5 dependencies.
2017-04-07 11:44:18 -07:00
Cedric Beust
d2ee2f7b4c
Typo.
2017-04-07 11:42:33 -07:00
Cedric Beust
33dafe6cd0
Initial support for JUnit 5.
2017-04-07 11:42:29 -07:00
Cedric Beust
5768fb24db
Dependencies can be empty.
2017-04-07 11:41:43 -07:00
Cedric Beust
9049ed8048
GH-336: Typo.
...
Fixes https://github.com/cbeust/kobalt/issues/336
2017-04-06 14:12:14 -07:00
Cedric Beust
b3fd191111
1.0.54.
2017-04-06 13:36:42 -07:00
Cedric Beust
49fd5db117
GH-383: provided() dependencies should not be included in the far jat.
...
Fixes https://github.com/cbeust/kobalt/issues/383
2017-04-06 13:36:36 -07:00
Cedric Beust
11d3b9fd8e
Formatting.
2017-04-06 12:56:49 -07:00
Cedric Beust
0cbf9197e9
Clean up.
2017-04-06 12:55:48 -07:00
Cedric Beust
b0e823958b
InstallTest and BuildFilesTest.
2017-04-06 12:51:54 -07:00
Cedric Beust
f83bdfe3b2
Remove unnecessary @Guice.
2017-04-06 12:12:56 -07:00
Cedric Beust
ba98592f49
Tests can now run full builds.
2017-04-06 11:31:05 -07:00
Cedric Beust
24d902bfbf
Restructure the entry point for easier testing.
2017-04-06 10:52:17 -07:00
Cedric Beust
f2297fcfc3
Remote the “update” task.
...
We already have —update.
2017-04-06 10:08:10 -07:00
Cedric Beust
ae99bb6de5
1.0.53.
2017-04-06 09:59:27 -07:00
Cedric Beust
69560ca571
Fixes kotlinCompiler { version = … }
...
Fixes https://github.com/cbeust/kobalt/issues/317
2017-04-06 09:59:09 -07:00
Cedric Beust
03d4ca3861
Not necessary.
2017-04-06 09:43:16 -07:00
Cedric Beust
43338c2946
1.0.52.
2017-04-06 09:40:46 -07:00
Cedric Beust
38d2187eae
Fix copy().
...
Fixes https://github.com/cbeust/kobalt/issues/387
2017-04-06 09:39:21 -07:00
Cedric Beust
94400756ff
Merge pull request #390 from ethauvin/master
...
Added test for CR line endings (DOS) in kobaltw.
2017-04-05 20:12:14 -07:00
d108589185
Added test for CR line endings (DOS) in kobaltw.
2017-04-05 18:15:14 -07:00
Cedric Beust
2e3ca3bb24
Fix build.
2017-04-05 16:44:00 -07:00
Cedric Beust
0ba9efc022
Renamed libDir to target.
2017-04-05 16:08:12 -07:00
Cedric Beust
edb9370988
copy() now takes a From as first parameter.
2017-04-05 16:08:01 -07:00
Cedric Beust
856b61678d
1.0.51.
2017-04-05 14:48:53 -07:00
Cedric Beust
59d6120412
collect() returns a list of File.
2017-04-05 14:48:43 -07:00
Cedric Beust
f93fee2d8c
1.0.50.
2017-04-05 14:12:51 -07:00
Cedric Beust
9514d80b99
Introducing the copy() directive for installation.
...
Example use:
install {
collect(compileDependencies).map {
copy(it, to("deploy"))
}
}
2017-04-05 14:11:30 -07:00
Cedric Beust
756fbec648
Test helper.
2017-04-04 16:28:09 -07:00
Cedric Beust
93408cda52
Fix tests.
2017-04-04 13:53:12 -07:00
Cedric Beust
a1bea1124d
Build fix.
2017-04-04 11:13:15 -07:00
Cedric Beust
c691709a53
Reformat.
2017-04-04 10:50:20 -07:00