Ilya Chernikov
08e2ee0951
Restore legacy kotlin-runtime maven artifact
2017-09-19 23:58:34 +02:00
Ilya Chernikov
3caa426b76
Switching library projects to java 8 compilation with exceptions for stdlib/runtime/reflect/test
2017-09-19 21:37:11 +02:00
Ilya Chernikov
6b22282ad4
Change previous gradle build for compatibility with the centralized build
...
incompatible with the main build yet
2017-09-19 21:37:07 +02:00
Alexander Udalov
10f2e9d33a
Revert usages of -X arguments to old form in some places
...
We use the old compiler in Gradle build and in GradleFacetImportTest, so
some changes in f4b6db4 should not have been made yet
2017-04-17 11:33:58 +03:00
Alexander Udalov
f4b6db4dc0
Change format of -X arguments to require value after '='
...
Report a warning when an argument is passed in the old form (with the
whitespace)
#KT-17264 Fixed
2017-04-14 20:07:54 +03:00
Ilya Gorbunov
337fd4e180
Drop poms that are no longer required. Drop separate unit test modules for stdlib js.
2017-04-08 08:28:50 +03:00
Ilya Gorbunov
0b2cadc638
Provide a method for common publishing configuration.
2017-04-06 20:32:37 +03:00
Ilya Gorbunov
92ef26606b
Refactor build to make manifest specification less error-prone.
...
Use legacy implementation title in manifest of JS stdlib for now.
Change the way common jvm project configurations is applied.
Add missing artifacts to common libraries.
2017-04-06 20:32:37 +03:00
Ilya Gorbunov
846b74885c
Remove some configuration duplication by using 'tasks.withType()'
...
Setup common options of java and kotlin compiler tasks.
2017-04-06 20:32:37 +03:00
Ilya Gorbunov
d25b07fe23
Exclude additional test source sets when importing project in IDEA, enable coroutines in stdlib
2017-04-06 20:32:37 +03:00
Ilya Gorbunov
d3afc1ba2e
Extract manifest attribute specification to helper function.
...
Specify default jdkHome for all projects.
2017-04-06 20:32:37 +03:00
Ilya Gorbunov
5755210498
Tune build options for kotlin-test, kotlin-runtime, kotlin-stdlib, kotlin-stdlib-jre7/8
2017-04-06 20:32:37 +03:00
Ilya Gorbunov
c5aa5ef571
Do not duplicate sources, add non-compiled sources to runtime, dump declarations to json.
2017-04-06 20:32:37 +03:00
Ilya Chernikov
35a135cbf6
Add builds for main stdlib, stdlib jre7/8, kotlin.test
2017-04-06 20:32:37 +03:00
Ilya Chernikov
ed9221cb7d
Add script runtime, refactorings
2017-04-06 20:32:37 +03:00
Ilya Chernikov
c2c051cfe8
Prepare gradle config for building libs - bootstrap and runtime
...
Use external gradle plugin (1.1-M04) with compiler.jar from dist
Add empty build scripts for other projects that needs to be built with gradle
2017-04-06 20:32:37 +03:00
Alexander Udalov
fc637eb420
Change runtime component from "Core" to "Main"
...
This is needed to allow the old compiler have the new runtime libraries in the
classpath. See the previous commit for a more elaborate explanation
2017-01-21 12:57:15 +03:00
Alexander Udalov
c4f731b987
Write Kotlin-Version to runtime artifacts built with Maven
...
Add a test that checks that Kotlin-Version and Kotlin-Runtime-Component have
been written to all relevant runtime libraries
2016-12-26 17:46:36 +03:00
Alexander Udalov
3719a0619d
Merge definitions of build-helper-maven-plugin in runtime/pom.xml
2016-12-23 22:30:31 +03:00
Ilya Gorbunov
7a019e80fe
Exclude bundled org.jetbrains.annotations from kotlin-runtime. Add a dependency on org.jetbrains:annotations:13.0 instead.
2016-12-06 22:25:06 +03:00
Ilya Gorbunov
2e7456c56e
Add non-compiled sources to runtime before packaging sources jar.
2016-12-06 21:31:41 +03:00
Alexander Udalov
c49c019250
Add option to restore fallback to compiler built-ins + resurrect Maven build
2016-10-26 19:02:31 +03:00
Ilya Gorbunov
8425304866
Advance snapshot version to 1.1-SNAPSHOT
2016-05-11 17:28:38 +03:00
Ilya Gorbunov
e7d75fccd6
Introduce compiler option to dump declaration mapping.
2016-03-29 13:49:34 +03:00
Alexander Udalov
c81d76414f
Drop serialization of old binary built-in files (.kotlin_class, .kotlin_package)
2016-02-26 11:29:10 +03:00
Denis Zharkov
6c0cd70a22
Introduce PureReifiable annotation
...
It prevents reporting unsafe substitution warning on expressions
like 'arrayOf(arrayOf(""))'
2016-01-22 19:17:22 +03:00
Dmitry Jemerov
52acd34a61
fix Maven build
2016-01-19 10:54:04 +01:00
Alexander Udalov
64b60718e3
Finish off old deprecated function/extension function classes
...
This reverts commit d14e5b8a72 .
2015-06-10 14:41:57 +03:00
Alexander Udalov
d14e5b8a72
Restore and deprecate Function{n}/ExtensionFunction{n} classes for easier migration
...
Users' Java code will not break in common cases (when passing functions to
Kotlin), and deprecation warnings will be reported.
Provide an inspection with a quick fix which allows to replace deprecated
function class usages to the new classes. Include this fix to the "code
cleanup" action
2015-05-28 01:20:05 +03:00
Alexander Udalov
45c28abfee
Keep built-in metadata for reflection interfaces
...
Reflection interfaces (interfaces in kotlin.reflect.* in core/builtins/) are
now fully considered as built-ins and can be accessed via KotlinBuiltIns. This
increases runtime size by ~20kb, but only because KotlinBuiltIns is static and
is therefore constructed only via resource loading from the compiler classpath
at the moment. As soon as it's possible to inject KotlinBuiltIns to the
particular resolution process, the metadata on JVM will be loaded via standard
annotation mechanism (kotlin.jvm.internal.KotlinClass/KotlinPackage) and wasted
runtime space will be reclaimed
2015-05-26 14:27:38 +03:00
Alexander Udalov
2f001ca696
Pack built-ins metadata to kotlin-runtime Maven artifact
...
This fixes reflection usage against Maven's kotlin-reflect
2015-03-18 14:38:26 +03:00
Alexander Udalov
9d6f4e99a1
Move reflection interfaces to module 'builtins'
...
They are considered to be built-ins everywhere anyway
2015-03-16 20:29:39 +03:00
Alexander Udalov
eced3003ad
Introduce kotlin-reflect Maven artifact
2015-03-07 02:31:00 +03:00
Alexander Udalov
57d37a3860
Extract reflection implementation to module runtime.jvm
2014-11-11 18:35:40 +03:00
Alexander Udalov
c7a7f31e82
Introduce module 'reflection', move KFunctionN to it
...
Metadata for KFunction classes is now longer serialized along with built-in
classes. This effectively means that it's no longer possible to find KFunction
classes via dependency on built-ins. There should be a kotlin-runtime library
in the specified classpath for reflection types to be resolvable.
A lot of tests were moved and changed, because tests on callable references
require stdlib in classpath from now on
2014-05-19 19:50:57 +04:00
Alexander Udalov
dc66561ca5
Create module 'builtins', move 'runtime' -> 'runtime.jvm'
...
'builtins' will be used for platform-independent core built-in definitions,
'runtime.jvm' for things that should be present at runtime in order for Kotlin
code to execute correctly on JVM
ProgressionUtil goes to 'builtins' right now because progression iterators
depend on it, but should be rewritten to Kotlin later
2014-01-27 18:33:47 +04:00
Alexander Udalov
a59565bfa8
Rewrite PropertyMetadata to Kotlin
2014-01-27 18:33:44 +04:00
Leonid Shalupov
abcf5616f7
KT-3725 attach empty javadocs to all artifacts except compiler and runtime
2013-07-08 02:25:04 +04:00
Leonid Shalupov
d0765d5e4a
KT-3725 build sources.jar for all maven modules
2013-07-08 00:56:11 +04:00
Leonid Shalupov
54fa1f9fbc
libraries/runtime: copy runtime module sources locally to help IDEA find them
2012-04-30 20:59:52 +04:00
Leonid Shalupov
3813e0a886
maven version = 0.1-SNAPSHOT
2012-04-12 13:03:15 +04:00
Leonid Shalupov
d1246abbf1
maven: get rid of intermediate poms: examples, docs, tools (artifacts garbage)
2012-04-12 09:33:48 +04:00
Leonid Shalupov
863042da27
maven artifacts: runtime, stdlib -> kotlin-runtime, kotlin-stdlib
2012-04-10 22:39:11 +04:00
Leonid Shalupov
6d47a3c2dc
libraries/tools: compile kotlin runtime in maven build
2012-04-09 22:31:14 +04:00
James Strachan
a40f9ee9b1
refactored the maven project structure so that things are in a simpler tree structure to avoid folks getting lost
2012-04-05 16:20:06 +01:00