Cedric Beust
68163731d6
Refactor.
2017-04-11 19:14:43 -07:00
a48d091fa5
Ensured inputStream.copyTo() is automatically closed.
2017-04-11 17:10:20 -07:00
Cedric Beust
c195a7bdf7
Use commons-compress fast archive.
2017-04-11 15:58:52 -07:00
Cedric Beust
46f73ee5e7
Fix test.
2017-04-11 12:18:35 -07:00
Cedric Beust
52fe283583
Not used.
2017-04-11 11:44:29 -07:00
Cedric Beust
af5217966f
Better range resolution.
2017-04-11 11:44:09 -07:00
Cedric Beust
d710362af1
Merge pull request #397 from ethauvin/master
...
Implementation of compileOnly
2017-04-10 13:44:27 -07:00
Cedric Beust
452820e728
Log.
2017-04-09 10:32:42 -07:00
Cedric Beust
a20b16da44
Extract TestNG results and show them in the final report.
2017-04-09 09:37:36 -07:00
Cedric Beust
ffd641310d
Format correctly.
2017-04-09 00:40:17 -07:00
Cedric Beust
6401a9d2af
Bubble up test result messages.
2017-04-08 19:27:19 -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
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
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
5f8021334a
Beginning implementation of compileOnly.
2017-04-07 19:37:48 -07:00
Cedric Beust
9db54e24e4
No longer used.
2017-04-07 19:12:51 -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
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
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
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
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
b0e823958b
InstallTest and BuildFilesTest.
2017-04-06 12:51:54 -07:00
Cedric Beust
ba98592f49
Tests can now run full builds.
2017-04-06 11:31:05 -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
edb9370988
copy() now takes a From as first parameter.
2017-04-05 16:08:01 -07:00
Cedric Beust
59d6120412
collect() returns a list of File.
2017-04-05 14:48:43 -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
c691709a53
Reformat.
2017-04-04 10:50:20 -07:00
Cedric Beust
abab841119
Logs.
2017-04-04 10:50:10 -07:00
Cedric Beust
886b7a4bfa
include() for install{}.
2017-04-04 10:49:48 -07:00
Cedric Beust
789c969a9b
GITHUB-382: Expose Project.collect() to gather dependencies in the build file.
...
Fixes https://github.com/cbeust/kobalt/issues/382
2017-04-03 11:02:45 -07:00
Cedric Beust
bb2eb19876
Refactor some downloadSources code.
2017-04-03 09:54:26 -07:00
Cedric Beust
1c27b9f1e4
Merge pull request #374 from dmitry-zhuravlev/master
...
* download sources property propagation. relates to #372
2017-04-03 09:47:44 -07:00
Cedric Beust
f8fbcb912c
Remove the random repo number hack.
...
Fixes https://github.com/cbeust/kobalt/issues/385
2017-04-03 09:44:48 -07:00
Dmitry Zhuravlev
c54d4c5b2b
* fix sources and javadoc resolution. relates to #372
2017-04-03 12:50:02 +03:00
Dmitry Zhuravlev
23bbcd4d84
* merge
2017-04-03 12:13:49 +03:00
Cedric Beust
b011abc13b
Resolve snapshot repos correctly.
...
Fixes https://github.com/cbeust/kobalt/issues/377 .
2017-04-01 13:42:09 -07:00
Cedric Beust
53924366ba
Forgot a change.
2017-04-01 06:30:03 -07:00
Cedric Beust
b3ce6db1da
Use injection for isDev.
2017-04-01 06:22:17 -07:00
1610677a94
Disable release version check if --dev
2017-03-31 23:24:16 -07:00
af9289ad7f
Latest version check now defaults to current version.
2017-03-31 18:27:40 -07:00
c342573e55
Only check for the latest release version number on GitHub every 10 minutes.
2017-03-31 17:11:20 -07:00
Cedric Beust
a6836fbd79
Surface the new build directories to expose them to the IDEA plug-in.
2017-03-31 10:56:30 -07:00
Cedric Beust
bfa2fb072e
Fix: the sources don’t get downloaded if the jar file is present.
2017-03-31 09:19:37 -07:00