Cedric Beust
49fd4d8708
Fix profile regexp.
2016-07-12 03:21:30 -08:00
Cedric Beust
bf1863db32
Fix the profile rebuild.
...
Fixes https://github.com/cbeust/kobalt/issues/278
2016-07-12 03:19:17 -08:00
Cedric Beust
da9e8815f3
Always recompile the build file is a profile is given.
2016-07-12 02:31:02 -08:00
Cedric Beust
0e2cfc69fb
Log profiles.
2016-07-12 01:57:40 -08:00
Cedric Beust
7030c98b98
Fix profiles.
2016-07-12 01:57:15 -08:00
Cedric Beust
86abfc3d80
Better pom generation.
2016-07-11 22:34:20 -08:00
Cedric Beust
af61ceb237
Compile files, not directories.
2016-07-11 02:35:00 -08:00
Cedric Beust
845f246cf3
For now, kotlinc is back to compiling files and not directories.
2016-07-10 23:06:47 -08:00
Cedric Beust
8418b74375
Compiling directories defeats increments compiling.
...
So turning it back off for now.
2016-07-09 02:42:35 -08:00
Cedric Beust
1b6cbd842c
Rename "deployToMavenLocal" -> "publishToMavenLocal".
2016-07-08 08:51:11 -08:00
DevCharly
895027a7d6
BuildScriptUtil.runBuildScriptJarFile(): do not invoke static getter that expects parameters
...
fixes "ERROR wrong number of arguments" if adding property with getter to Build.kt. E.g.
```kobalt
val Project.libs: String
get() = "$directory/$buildDirectory/libs"
```
2016-07-08 11:57:06 +02:00
Cedric Beust
5de48f30d9
Better logs.
2016-07-07 19:07:20 -07:00
Cedric Beust
ef516cd919
Implement localMaven().
2016-07-07 19:05:39 -07:00
Cedric Beust
160cbbcfda
Optimize splits.
2016-07-06 00:53:45 -08:00
Cedric Beust
bd6dfb494f
Restore the Kotlin compiler's ability to compile directories.
2016-07-05 23:24:43 -08:00
Cedric Beust
71e2852963
Clean up the dependent project API.
2016-07-05 09:42:22 -07:00
Cedric Beust
182ee52be2
IIncrementalTaskContributor.
2016-07-04 11:09:13 -07:00
Cedric Beust
40d251e08d
Merge pull request #255 from DevCharly/delete-temp-files
...
delete temporary "kobalt123.kt" files (in temp folder)
2016-07-04 08:04:07 -07:00
DevCharly
86d651b648
delete temporary "kobalt123.kt" files (in temp folder) on exit
2016-07-04 13:31:45 +02:00
Cedric Beust
781a2c65c3
Deprecation comments.
2016-07-03 09:24:49 -07:00
DevCharly
efc73f5d5d
delete temporary "kobalt123.kt" files (in temp folder)
2016-07-02 18:30:53 +02:00
Cedric Beust
f36df22b12
Better websocket error message.
2016-07-02 08:17:30 -07:00
Cedric Beust
94e2e7081c
Add "name" property to CompilerDescription.
2016-06-29 22:12:10 -08:00
Cedric Beust
e61403ad49
Update client.
2016-06-28 23:17:01 -08:00
Cedric Beust
a5cd7f168a
Tasks were no longer being sent in GetDependencyData.
...
Caused by the fact that the Kobalt server was not initializing itself with the build file sent in the command, so it didn't initialize any tasks. Fixed by extracting this logic in the new ProjectFinder class which is now used by both Main.kt and KobaltServer.kt.
2016-06-28 23:16:54 -08:00
Cedric Beust
edb119c6b1
Refactor CheckVersions to work on individual projects.
2016-06-27 02:21:05 -08:00
Cedric Beust
de09321727
Add "update" and "checkVersions" as tasks.
2016-06-27 01:52:17 -08:00
Cedric Beust
3bb1a74452
buildFileClasspath work.
2016-06-25 09:09:16 -07:00
Cedric Beust
b62e167cde
Fix the compiler bug.
2016-06-24 20:10:59 -07:00
Cedric Beust
25b97dd21f
Added buildFileClasspat().
2016-06-24 04:14:08 -08:00
Cedric Beust
c06e92b679
Move a few methods in BaseJvmPlugin.
2016-06-24 02:49:17 -08:00
Cedric Beust
5ac94386fc
Fix main result.
2016-06-24 01:59:25 -08:00
Cedric Beust
e9cbe04317
Remove GroovyPlugin.
2016-06-24 01:59:20 -08:00
Cedric Beust
45cd429d08
Move the compiler interfaces in kobalt-plugin-api.
2016-06-24 01:47:03 -08:00
Cedric Beust
c9393cb0ca
Refactor the three compilers.
2016-06-24 01:28:52 -08:00
Cedric Beust
a8b693b238
First pass for GroovyPlugin.
2016-06-24 00:53:48 -08:00
Cedric Beust
09dcd84f79
Update the client.
2016-06-22 01:29:29 -08:00
Cedric Beust
5eb92ed10b
Track dependencies downloaded on the server's websocket.
2016-06-22 01:29:11 -08:00
Cedric Beust
a52dd19f3f
Comment.
2016-06-15 03:36:15 -08:00
Cedric Beust
f1e75223a3
First version of the WebSocket server.
2016-06-15 03:31:59 -08:00
Cedric Beust
182345d8e2
Better jar default naming.
2016-06-14 23:43:20 -08:00
Cedric Beust
960472be68
Forgot a set of interceptors.
2016-06-14 23:19:49 -08:00
Cedric Beust
d8bbe547ae
Add support for native dependencies.
2016-06-14 22:33:02 -08:00
Cedric Beust
7e983ed529
GITHUB-231: Fix the incorrect order of builds.
...
Fixes https://github.com/cbeust/kobalt/issues/231
2016-06-10 22:13:10 -08:00
Cedric Beust
2b78c0765d
val.
2016-06-08 02:37:14 -08:00
Cedric Beust
aaf5e4826b
Refactor.
2016-06-07 22:41:01 -08:00
Cedric Beust
1b065c8d50
Clean up the streams.
2016-06-07 22:40:05 -08:00
Cedric Beust
82b5c636d0
Better look up of the compiler jar file.
2016-06-07 22:32:12 -08:00
Cedric Beust
7ae8f190b1
Reformat.
2016-06-07 21:15:18 -08:00
DevCharly
ec933143ad
exit Kobal process on exceptions ( fixes #229 )
2016-06-06 16:43:18 +02:00