Cedric Beust
c768507ed5
Reformat.
2017-04-21 22:18:56 -07:00
d157be9a18
Made warn() work like error() with provided message.
2017-04-21 20:04:27 -07:00
Cedric Beust
43844cbf80
Fix class path look up in kapt3.
2017-04-19 11:16:05 -07:00
Cedric Beust
5bcb8185b8
Refactor.
2017-04-19 11:14:34 -07:00
Cedric Beust
1febd47368
Better JAVA_HOME detection.
2017-04-19 08:19:46 -07:00
Cedric Beust
5d03544e31
GH-417: Don’t run abstract test classes with JUnit 4.
...
Fixes https://github.com/cbeust/kobalt/issues/417
2017-04-18 20:01:43 -07:00
Cedric Beust
37709b571c
Inject the Jvm object.
2017-04-18 08:16:13 -07:00
Dmitry Zhuravlev
5720356814
+ added cleanup for buildFileClasspath collection
...
+ added FIXME: newBuildFileClasspath called twice
2017-04-17 12:30:12 +03:00
Dmitry Zhuravlev
6d46ba2d0e
Merge branch 'master' of https://github.com/cbeust/kobalt
2017-04-17 11:49:15 +03:00
Cedric Beust
e9b8212dbd
Fix build.
2017-04-16 20:30:44 -07:00
Cedric Beust
6816ba8a3b
Sanitize repo names from repos().
2017-04-16 20:13:28 -07:00
Cedric Beust
85460422e0
GH-414: Authenticated repos not working.
...
Fixes https://github.com/cbeust/kobalt/issues/414
2017-04-15 08:09:09 -07:00
Cedric Beust
2b3fc7a2c9
Fix the zip task.
2017-04-14 12:14:43 -07:00
Dmitry Zhuravlev
5d11395b7c
+ server should send buildFileClasspath to plugin. close #410
2017-04-14 17:18:16 +03:00
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
0f88993424
Made sure kobaltw in ~/.kobalt/wrapper/dist/ is executable on non-Windows platforms.
2017-04-10 23:23:18 -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