Sergey Mashkov
8353b4d3e8
Maven: integration test should remove escape sequences from build log
2015-07-30 19:20:30 +03:00
Sergey Mashkov
16ec066437
Maven: integration test should aomit downloading/downloaded messages even if they are printed with no log level
2015-07-28 18:24:21 +03:00
Sergey Mashkov
8b358558c9
Maven: integration test should escape compiler version
2015-07-28 18:04:00 +03:00
Sergey Mashkov
3c3e1a0a52
Maven: eliminate warning classpath entry doesn't exist. Fix integration test
2015-07-28 17:46:15 +03:00
Sergey Mashkov
82165d2a93
Maven: Introduce test for plugin output
...
Use mvn integration-test to run tests
2015-07-28 13:37:33 +03:00
Sergey Mashkov
015ac0cd5b
Maven: take logger every time
...
The root cause of problem is that we take logger at too early stage so there is initial bootstrap maven logger that is replaced by plexus container via injector at later initialization stage. We have to use injected logger rather than initial bootstrap logger. At the same time there is no actual performance advantage to have LOG field because of JIT inliner will inline getLog() body anyway.
#KT-8630 Fixed
2015-07-28 13:37:23 +03:00
Michael Nedzelsky
3ac1bdcdc8
kotlin-maven-plugin, ant:withKotlin: skip compilation for empty sources
...
#KT-7618 Fixed
2015-06-11 22:21:16 +03:00
Michael Nedzelsky
d629271510
JS: make -meta-info cli option boolean
2015-05-21 02:30:54 +03:00
Sergey Mashkov
4ef745974e
Maven: Fix build for Maven 3.0.5
2015-05-19 15:00:10 +03:00
Sergey Mashkov
72238c4d39
Maven: maven annotations is required in compile time in some cases
2015-05-18 19:59:55 +03:00
Sergey Mashkov
d04ec74217
Maven: use maven-annotations in kotlin-maven-plugin
2015-05-18 19:36:19 +03:00
Sergey Mashkov
35ed682714
Maven: Introduce test-js goal
...
#KT-7757 Fixed Maven K2JS should be able to build tests too
2015-05-18 19:36:18 +03:00
Sergey Mashkov
606ea7bb70
Do not pass non-existing source roots to the compiler
...
#KT-3679 Fixed Maven build fails when some source directories don't exist
2015-05-18 19:27:35 +03:00
Sergey Mashkov
0578f44fd0
Maven: don't scan target directories for annotations in multimodule project
...
#KT-7187 Fixed Maven K2JVM compiler scanning for annotations
2015-05-18 19:27:35 +03:00
Pavel V. Talanov
a21abeba33
Fix kotlin-gradle-plugin to correctly process java source files
...
Do not remove outdirectory from cp in maven: this is needed for gradle-plugin build to see files compiled by gmaven
this may cause problems with running mvn install without clean for kotlin
Remove special magic with groovy-output in gradle-plugin pom.xml
2015-04-16 16:40:55 +03:00
Michael Nedzelsky
3bf14518e8
JS backend: add -meta-info command line option for cli compiler
2015-03-18 09:38:53 +03:00
Alexander Udalov
93f02aeead
Add source directories to classpath in CLI compiler
...
Move this logic from Ant and Maven plugins
2015-01-28 19:58:33 +03:00
Alexander Udalov
f37e2f173d
Rename package jet -> kotlin in util, util-runtime
...
org.jetbrains.jet.config -> org.jetbrains.kotlin.config
org.jetbrains.jet.utils -> org.jetbrains.kotlin.utils
Also move coreLib.kt to package 'org.jetbrains.kotlin.utils'
2015-01-08 23:32:08 +03:00
Alexander Udalov
8ca803775f
Rename package jet -> kotlin in cli, cli-common
...
org.jetbrains.jet.cli -> org.jetbrains.kotlin.cli
Also fix some minor warnings
2015-01-08 23:32:07 +03:00
Michael Nedzelsky
eebb012b13
JS backend: maven: fix compiler mojo
2014-12-12 03:03:43 +03:00
Zalim Bashorov
adab0445de
K2JS: introduce "no-stdlb" parameter and use stdlib from compiler by default.
2014-11-07 16:30:52 +03:00
Zalim Bashorov
9e11b40fe1
Add the support suppressWarnings, verbose and version in build tools.
2014-10-29 23:09:07 +03:00
Zalim Bashorov
23fa0ba6ab
Refactoring kotlin-maven-plugin:
...
* cleanup KotlinCompileMojoBase moved JVM specific things to KotlinCompileMojo;
* add support noInline in JS.
2014-10-07 16:32:07 +04:00
Michael Nedzelsky
d1d722546e
JS backend: prepare long.js for use in translator
2014-09-28 19:51:43 +04:00
Evgeny Gerashchenko
487f381287
Minor. Renamed and cleaned CompilerServices -> Services.
2014-08-20 13:46:31 +04:00
Evgeny Gerashchenko
69c31c00db
Fixed gradle and maven plugins after changing compiler API.
2014-08-20 13:46:30 +04:00
Alexander Udalov
6da95e2cea
Maven plugin: support additional arguments, drop inline/optimize
2014-08-13 11:10:39 +04:00
Alexander Udalov
fbc8361211
Minor, fix style issues in kotlin-maven-plugin
2014-08-13 11:10:39 +04:00
Alexander Udalov
160cde09d6
CLI: Support "-X" advanced options, simplify some boolean options
2014-08-13 11:10:37 +04:00
Alexander Udalov
fd27518070
Fix build tool plugins after recent changes to CLI
2014-07-26 02:28:51 +04:00
Alexander Udalov
485cc906a4
Fix Maven build due to recent changes to CLI arguments
2014-07-24 20:04:47 +04:00
Denis Zharkov
0e683b0b99
Added "optimize" flag to settings everywhere
2014-07-15 21:34:32 +04:00
Alexander Udalov
059538ce1b
Extract kotlin-maven-plugin tests into a separate subproject
...
Because they need kotlin-runtime to run, which is built by kotlin-maven-plugin
2014-06-26 20:57:39 +04:00
Alexander Udalov
d42598a935
Move default inline flag to JVM back-end
...
- other back-ends are likely to have its own value of this flag
- get rid of DEFAULT_INLINE_FLAG_FOR_TEST
- the main goal was to simplify the default GenerationState constructor, which
now always uses default inline flag value
2014-05-08 16:45:14 +04:00
Mikhael Bogdanov
ca4609dd2a
Support inline true/false options
2014-03-20 17:50:52 +04:00
Alexander Udalov
0dfacd8b20
Make KDoc generate documentation on red code
...
KDoc is not a compiler, so it should not care whether or not the code is valid.
Therefore suppress the compiler's exit code, errors and warnings in KDoc plugin
2014-03-17 19:09:08 +04:00
Mikhael Bogdanov
b1d76d6ab0
Maven inline option support
2014-03-17 17:28:46 +04:00
Natalia Ukhorskaya
f2f1a1313d
Add jdk jars to kotlin classpath
...
#KT-4214 Fixed
2013-12-26 13:50:10 +04:00
Evgeny Gerashchenko
f7d33d2297
Removed comments auto-generated by IDEA.
2013-12-23 15:58:36 +04:00
Zalim Bashorov
31a4d91122
CLI: drop CompilerArguments and unnecessary methods from *CompilerArguments classes
2013-10-16 17:39:49 +04:00
Zalim Bashorov
0901c98ff8
CLI: move *CompilerArguments classes to cli-common module.
2013-10-16 17:39:48 +04:00
Andrey Breslav
7662cbaeb4
Compilation fixed (after CompilerVersion was renamed to KotlinVersion)
2013-07-26 14:30:21 +04:00
Martin Lau
7761d7d646
Added scanning for annotations.xml entries within maven dependencies
2013-05-22 12:05:05 +10:00
Leonid Shalupov
bbb526476e
maven plugin: get jdk annotations from plugin's classpath
2013-03-30 15:42:44 +04:00
Leonid Shalupov
34d218fad0
k2js: fix debug logging
2013-02-24 18:11:46 +04:00
Leonid Shalupov
7b97e2535a
k2js: fix debug logging
2013-02-24 17:21:31 +04:00
Leonid Shalupov
0e6e9af34d
maven: local repository for maven plugin integration test moved out of target/
2013-02-22 19:13:12 +04:00
Leonid Shalupov
632d12021f
maven-plugin: compiler messages to maven log
2013-02-22 17:57:58 +04:00
Leonid Shalupov
0a1303d118
build: no classes rename in jarjar
...
build: fixed proguard shrinking
2013-02-13 14:22:54 +04:00
Andrey Breslav
01a24c6334
Better debugging of arguments in Maven
2013-02-05 20:32:11 +04:00