Cedric Beust
a8b693b238
First pass for GroovyPlugin.
2016-06-24 00:53:48 -08:00
Cedric Beust
3ad8cb5798
Better manifest packaging logic.
2016-06-22 22:53:29 -08:00
Cedric Beust
1745194f5f
Log level.
2016-06-22 01:29:21 -08:00
Cedric Beust
5eb92ed10b
Track dependencies downloaded on the server's websocket.
2016-06-22 01:29:11 -08:00
Cedric Beust
182345d8e2
Better jar default naming.
2016-06-14 23:43:20 -08:00
Cedric Beust
c069483490
Fix duplicate projects.
2016-06-14 22:57:14 -08:00
Cedric Beust
d8bbe547ae
Add support for native dependencies.
2016-06-14 22:33:02 -08:00
Cedric Beust
438e72038a
Don't warn if a .jar can't be found.
2016-06-14 21:00:18 -08:00
Dmitry Zhuravlev
4b17dade8e
Merge branch 'master' of https://github.com/cbeust/kobalt
2016-06-14 15:57:27 +03:00
Dmitry Zhuravlev
e9416db9e7
* proxy handling improved for repositories defined in transitive dependencies.
...
proxy config now looks like:
<proxies>
<proxy>
<host>mycompany.com</host>
<port>3128</port>
<type>http</type>
<nonProxyHosts>localhost</nonProxyHosts>
</proxy>
<proxy>
<host>mycompany.com</host>
<port>3128</port>
<type>https</type>
<nonProxyHosts>localhost</nonProxyHosts>
</proxy>
</proxies>
2016-06-14 15:56:32 +03:00
Cedric Beust
cd77dc39a4
Forgot simple case.
2016-06-11 14:54:14 -07:00
Cedric Beust
e276f3b6d5
Handle tasks with no project.
2016-06-10 22:19:00 -08:00
Cedric Beust
f8746460be
Typo.
2016-06-10 22:18:48 -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
5a540f3474
Not used.
2016-06-09 22:40:26 -08:00
DevCharly
795949e8b5
no longer iterate over projects in TaskManager.installDynamicTasks()
...
as discussed here https://github.com/cbeust/kobalt/issues/244#issuecomment-225211217
2016-06-10 17:52:08 +02:00
Cedric Beust
db15c8ef5b
Fix the build path.
2016-06-09 05:37:24 -08:00
Cedric Beust
3ed10c90e6
GITHUB-240: Fix mixed compilation.
...
Fixes https://github.com/cbeust/kobalt/issues/240
2016-06-08 20:23:20 -08:00
Cedric Beust
25629e4cf7
val
2016-06-08 20:22:54 -08:00
Cedric Beust
ef7c3cd92c
Format.
2016-06-08 19:15:36 -08:00
DevCharly
31a905b3a4
fixed incremantal building of fatJar: the timestamps of the included jars and classes folders of other projects were not cheched
2016-06-08 14:53:03 +02:00
Cedric Beust
937e095eb7
Not needed.
2016-06-08 02:37:05 -08:00
Cedric Beust
a5fbae6c65
Rename.
2016-06-08 02:36:53 -08:00
Cedric Beust
3da2b70558
Log.
2016-06-08 02:36:42 -08:00
Cedric Beust
a493cbc11e
vals.
2016-06-08 02:07:16 -08:00
Cedric Beust
82b5c636d0
Better look up of the compiler jar file.
2016-06-07 22:32:12 -08:00
Cedric Beust
a83e1f4a7d
Remove dependency on kotlinx.dom.
2016-06-07 21:48:47 -08:00
Cedric Beust
a9b8594a83
Change md5 implementation to checksum timestamps instead of files.
2016-06-07 21:09:11 -08:00
Cedric Beust
5587eb33bc
Formatting.
2016-06-07 21:08:53 -08:00
Cedric Beust
5fcffb0241
Test for build order.
2016-06-07 01:16:59 -08:00
Cedric Beust
1ca58b95f2
toString().
2016-06-07 00:43:51 -08:00
Cedric Beust
80a31bbb9b
Fix the build order.
2016-06-07 00:43:41 -08:00
Cedric Beust
ff1e3c2d13
GITHUB-230: Fail build if invalid project requested.
...
Fixes https://github.com/cbeust/kobalt/issues/230
2016-06-06 22:08:30 -08:00
Cedric Beust
f695fdf38c
Logs.
2016-06-06 21:00:07 -08:00
Cedric Beust
b9924d3b69
Merge pull request #239 from DevCharly/fatjar-classes-fix
...
fixed fatJar for projects in subdirectories that depend on other projects
2016-06-07 08:57:35 -07:00
DevCharly
d3a70a25a8
delete jar if exception occurs while creating it (otherwise incremental build does not work on next run)
2016-06-07 17:28:20 +02:00
DevCharly
cbbe9cbeb7
fixed fatJar for projects in subdirectories that depend on other projects
...
E.g. building p2 (see below) failed with
`java.lang.AssertionError: File should exist: p2\p1\kobaltBuild\classes`
because `p2.directory is != "."`
```
val p1 = project {
name = "p1"
directory = name
}
val p2 = project(p1) {
name = "p2"
directory = name
assemble {
jar {
fatJar = true
}
}
}
```
2016-06-07 16:58:18 +02:00
DevCharly
a005a14db5
avoid adding empty "classes" directory entry to Jar file
...
(this did add the empty "classes" directory to kobalt-0.xxx.jar)
2016-06-07 15:33:11 +02:00
DevCharly
0f6820c30f
fixed typo in log of Io.mkdir()
2016-06-07 10:29:02 +02:00
DevCharly
ca122ee55a
fixed creation of classes directory at wrong parent (project.buildDirectory is relative to project.directory!)
2016-06-07 10:26:48 +02:00
Cedric Beust
5645d54e35
If kapt{} detected, run javac before kotlinc.
2016-06-03 02:06:23 -08:00
Cedric Beust
a4a044c6b9
kapt work.
2016-06-02 23:37:39 -08:00
Cedric Beust
814eb57396
Refactor.
2016-06-02 21:29:51 -08:00
Cedric Beust
7b8b0bbfc1
Extract the compiler logic so apt can call it.
2016-06-02 21:28:32 -08:00
Cedric Beust
995706c8b7
Better plugin class loading.
2016-06-02 02:49:08 -08:00
Cedric Beust
744f2ab052
Initialize variant so it's ready for plugins in apply().
2016-06-02 02:49:00 -08:00
Cedric Beust
b1b9c0472c
GITHUB-216: Source directories were leaking across projects.
...
Fixes https://github.com/cbeust/kobalt/issues/216
2016-06-01 23:08:08 -08:00
Cedric Beust
6e32b4ade2
Update to Kotlin 1.0.2.
2016-06-01 21:23:41 -08:00
Cedric Beust
0dd42bf3d4
Comments.
2016-06-01 21:07:44 -08:00
DevCharly
2328287e03
support using plugins from directories (e.g. from IDE output folder, which makes plugin development easier)
...
val p = plugins("my-plugin/classes")
2016-06-02 17:58:38 +02:00