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
Cedric Beust
21e2d89fdc
Actual transitive closure.
2016-05-31 23:50:43 -08:00
Cedric Beust
a08b8852e8
GITHUB-212: Honor project dependencies for single task targets.
...
Fixes https://github.com/cbeust/kobalt/issues/212
2016-05-31 23:43:50 -08:00
Cedric Beust
85347e9ac5
Merge pull request #219 from DevCharly/interceptor-typo
...
fixed typo (Incerceptor -> Interceptor)
2016-06-01 10:01:01 -07:00
DevCharly
93fe8a25f1
fixed typo (Incerceptor -> Interceptor)
2016-06-01 18:57:59 +02:00
Cedric Beust
27edec8f7a
IDEA files: fix bogus paths pointing to .m2.
2016-05-31 21:13:24 -08:00
DevCharly
7b251f4d8e
fixed timestamps in created JAR files (was 1970-01-01 00:00)
2016-06-01 11:59:30 +02:00
Cedric Beust
af846f2e20
Fix classpath.
2016-05-31 20:35:45 -07:00
Cedric Beust
f89688ae19
GITHUB-215: Bug in dependent project classpath.
...
Fixes https://github.com/cbeust/kobalt/issues/215
2016-05-30 12:52:42 -07:00
Cedric Beust
31b79c7e50
[GITHUB-214] Extra "test-classes" directory in the classpath.
...
Fix https://github.com/cbeust/kobalt/issues/214
2016-05-30 12:22:08 -07:00
Cedric Beust
c2cf075b6f
Added --forceIncremental.
2016-05-29 07:51:03 -07:00
Dmitry Zhuravlev
5990e4baa8
#208 removing idea template
2016-05-26 13:52:32 +03:00
Cedric Beust
49041faa98
Fix Variant bug.
2016-05-23 21:26:21 -08:00
Cedric Beust
7ef80787dd
Dependencies for variants.
...
Fixes https://github.com/cbeust/kobalt/issues/204
2016-05-21 09:30:14 -07:00
Cedric Beust
ee1c214346
Default group.
2016-05-19 22:23:13 -08:00
Cedric Beust
b36e417f0c
Simplify.
2016-05-19 22:22:00 -08:00
Cedric Beust
b81e42e7e7
Test pattern should be **/*.class under the test directory.
2016-05-20 00:48:32 -07:00
Cedric Beust
cc7564d9f7
Dead code.
2016-05-19 05:59:08 -08:00
Cedric Beust
f4f95c0da7
[GITHUB-205] Fix flavor tasks.
...
Fixes https://github.com/cbeust/kobalt/issues/205
2016-05-19 05:36:49 -08:00