1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 16:28:12 -07:00
Commit graph

474 commits

Author SHA1 Message Date
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
Cedric Beust
0a98317bb8 toString() for dynamic tasks. 2016-05-19 05:34:40 -08:00
Cedric Beust
4468ddfac5 [GITHUB-199] Don't display errors if a .jar file can't be resolved.
Fixes https://github.com/cbeust/kobalt/issues/199
2016-05-14 07:43:13 -07:00
Cedric Beust
e983a6aba6 No longer needed. 2016-05-10 22:55:54 -08:00
Cedric Beust
9280d3b2ac Comment. 2016-05-10 03:16:04 -08:00
Cedric Beust
38288be20c [GITHUB-193] Fix multiple class path contributor call.
Fixes https://github.com/cbeust/kobalt/issues/193
2016-05-10 03:15:26 -08:00
Cedric Beust
1207d152a0 IDEA file. 2016-05-09 21:57:12 -08:00
Cedric Beust
52e4d404bc Tests for ITestJvmFlag{Contributor,Interceptor}. 2016-05-08 23:23:37 -08:00
Cedric Beust
50ef5e3269 [GITHUB-0.772] Bad flags from IJvmTestContributor.
Fixes https://github.com/cbeust/kobalt/issues/196
2016-05-08 22:08:57 -08:00
Cedric Beust
86069ed0ef Typo. 2016-05-07 08:36:56 -07:00
Cedric Beust
025f2de38e NPE work. 2016-05-07 08:00:42 -07:00
Cedric Beust
6a5c71ecea Trying to debug the NPE. 2016-05-07 07:48:00 -07:00
Cedric Beust
28d6f21c9e Fix comment. 2016-05-06 02:44:36 -08:00
Cedric Beust
6e22f7bbaf Didn't mean to commit this. 2016-05-06 01:44:15 -08:00
Cedric Beust
73cf2a9ab6 Forgot to add these contributors. 2016-05-06 01:41:10 -08:00