Alexander Udalov
dfd24d166c
Update bootstrap to 1.2.0-dev-439
2017-10-30 15:38:38 +01:00
Ilya Zorin
5541634187
Explicitly set utf-8 encoding for JavaCompile tasks
2017-10-26 21:34:50 +03:00
Ilya Gorbunov
3fe2298855
Do not run android codegen tests with plugin, introduce a separate task
2017-10-25 21:37:24 +03:00
Ilya Gorbunov
6c5d78d8d5
Remove deprecated build tasks
2017-10-25 21:37:24 +03:00
Ilya Gorbunov
97cf09b45a
Do not fail build on TC when some tests fail, just report problem
...
Required to have green builds with failing tests muted.
2017-10-24 20:35:47 +03:00
Ilya Gorbunov
b1dcab886b
Remove deprecated task
2017-10-24 19:59:45 +03:00
Dmitry Petrov
f25a5b5177
Use -Xnormalize-constructor-calls=enable for Kotlin/JVM compilation only
2017-10-19 11:17:56 +03:00
Stanislav Erokhin
0a2421d453
Disable annotation processor for javac by default in whole project
2017-10-17 17:25:25 +03:00
Ilya Gorbunov
13086b4347
Exclude node_modules dir from kotlin-stdlib-js project
...
Minor: shorter IdeaModel configuration.
2017-10-16 18:48:09 +03:00
Ilya Gorbunov
341edc3f86
Fork java compiler to ensure forkOptions are used
2017-10-16 18:48:09 +03:00
Ilya Gorbunov
748dbc382c
Advance bootstrap to 1.2.0-dev-92
2017-10-13 15:17:34 +03:00
Dmitry Petrov
75ad20f823
Build compiler, plugin & stdlib with constructor call normalization
...
Required as a workaround for Proguard bug
https://sourceforge.net/p/proguard/bugs/664/
When processing bytecode generated by Kotlin compiler for constructor
call with stack spilling during arguments evaluation, ProGuard performs
an equivalent transformation for the bytecode, but emits invalid stack
frame information.
In JVM 1.6, such invalid stack frames are ignored and re-evaluated by
JVM during bytecode verification.
In JVM 1.8, such invalid stack frames cause VerifyError.
2017-10-12 10:59:57 +03:00
Ilya Gorbunov
345e85974e
Bootstrap from intermediate teamcity build
2017-10-11 19:23:55 +03:00
Alexander Udalov
e253acd5fd
Introduce kotlin-stdlib-jdk7/8 libraries, deprecate kotlin-stdlib-jre7/8
...
The idea is to keep all declarations in the same packages from Kotlin's
point of view, but use JvmPackageName annotation to move them to another
JVM package, to avoid the split package problem which is otherwise
unsolvable when using module path on Java 9 (KT-19258).
In this commit, kotlin-stdlib-jre7/8 are moved to kotlin-stdlib-jdk7/8
and in the subsequent commit, -jre7/8 are restored. This is done in
order to make Git recognize this as a file move to preserve history.
Include new stdlib-jdkN artifacts in manifest version tests.
2017-10-11 19:20:24 +03:00
Ilya Gorbunov
cffab8d3ef
Set 1.2-SNAPSHOT in gradle build
2017-10-11 08:50:30 +03:00
Ilya Gorbunov
712d0e0777
Remove redundant repositories
2017-10-10 20:50:03 +03:00
Ilya Gorbunov
5f51a293ba
Use 'idea' plugin to specify excluded dirs
2017-10-10 20:50:03 +03:00
Zalim Bashorov
a4722a4000
Make "js.tests" depends on ":kotlin-test:kotlin-test-js" since it's used on runtime inside JS tests.
...
Transform dependency on ":kotlin-stdlib-js" to testRuntime since it's required only on runtime.
And remove unnecessary dependency from jsCompilerTest.
2017-10-10 20:19:07 +03:00
Ilya Gorbunov
5b7c3ee655
Advance bootstrap version to 1.1.60-dev-277
2017-10-05 22:48:12 +03:00
Ilya Gorbunov
865f2464ab
Add aggregation task for gradle integration tests, rename task for gradle tests
2017-10-05 21:05:05 +03:00
Ilya Gorbunov
887e71a7c1
Provide kotlin bootstrap source options
2017-10-04 20:02:26 +03:00
Ilya Gorbunov
5483de276e
Specify bootstrap version with gradle props instead of system props
...
Make bootstrap dependency version explicit
2017-10-04 20:02:12 +03:00
Alexander Udalov
a7443adb65
Remove obsolete dependency on cli-parser
2017-09-27 15:47:35 +03:00
Kirill Rakhman
e82544ffb0
build.gradle.kts: replace listOf().filterNotNull() with listOfNotNull()
2017-09-25 16:32:08 +03:00
Ilya Gorbunov
701f24ead5
Split apply block, so that gradle scripts are imported separately, one after other
2017-09-20 11:52:05 +02:00
Ilya Gorbunov
d441f7ad9a
Remove unused and duplicate gradle files
2017-09-20 11:52:02 +02:00
Ilya Gorbunov
678caa5676
Setup project versions
...
Build parameters (with corresponding project properties):
- build.number (buildNumber) - build number from build server, goes into manifest, by default snapshot
- deployVersion (kotlinVersion, project.version) - version of artifacts, by default build.number
- bootstrap.kotlin.version (bootstrapKotlinVersion) - version of bootstrap compiler
2017-09-20 11:52:01 +02:00
Ilya Chernikov
df04efcf14
Rename artifacts, fix dependencies and artifact contents
2017-09-20 11:52:00 +02:00
Ilya Chernikov
d61695be55
Fix embeddable compiler dependencies, fix dist task, use runtimeJar...
...
dependencies where appropriate, some helpers refactoring
2017-09-20 11:52:00 +02:00
Ilya Chernikov
372138977d
Fix compiler archives config contents - fixes signing, add some utils
2017-09-20 11:51:58 +02:00
Ilya Chernikov
8d0694c129
Rename kotlin-plugin project to idea-plugin
2017-09-20 11:51:57 +02:00
Ilya Chernikov
51efd717f6
Extract jvm6-specific test utils, add codegen on specific jdk tests
2017-09-20 11:51:54 +02:00
Ilya Gorbunov
8ec5cc7d16
Rename composite tasks to use camelCase convention
2017-09-20 11:51:44 +02:00
Ilya Gorbunov
6e75d44bc3
Declare shared shadow plugin version and use it consistently
2017-09-20 11:51:35 +02:00
Ilya Chernikov
fc3dda47c0
Update compiler artifact according to the changes in master
2017-09-20 11:51:32 +02:00
Ilya Chernikov
4b3936b598
Revert to default build dirs, add missing projects
2017-09-20 11:51:28 +02:00
Simon Ogorodnik
129dc42a25
Fix JPS classpath
2017-09-20 11:51:26 +02:00
Ilya Chernikov
95035b3d72
Fix various tests
2017-09-20 11:51:23 +02:00
Ilya Chernikov
3a55ed31a6
Rearrange and add aggregate tests tasks
2017-09-19 23:58:42 +02:00
Simon Ogorodnik
360a692af8
Apply rri/yole/modularize, create gradle run configuration for IDEA
2017-09-19 23:58:41 +02:00
Ilya Chernikov
f7b9ae2556
Add missing dist jars
2017-09-19 23:58:39 +02:00
Ilya Chernikov
aa34c7d32a
Fix tests after projects rearrangement
2017-09-19 23:58:39 +02:00
Ilya Chernikov
b4c9422376
Rearrange and rename idea-plugin related and annotation-processing modules
2017-09-19 23:58:37 +02:00
Ilya Chernikov
e7ac8443ee
Implement proper artifacts signing, add missing install and publish tasks
2017-09-19 23:58:35 +02:00
Ilya Chernikov
19e0cfeb9e
Add annotation processing into dist, publish & tests
2017-09-19 23:58:33 +02:00
Ilya Chernikov
a61facf3d1
Clean most of the shared source roots conflicts
2017-09-19 23:58:29 +02:00
Ilya Chernikov
e26b421e6c
Add JDK detection
2017-09-19 23:58:29 +02:00
Ilya Chernikov
3e46c59187
Clean unused dependencies, minor refactorings
2017-09-19 21:37:27 +02:00
Ilya Chernikov
27968c8e13
Set proper jvmTarget for projects
2017-09-19 21:37:27 +02:00
Ilya Chernikov
336e24b837
Fix project structure after rebase on master
2017-09-19 21:37:25 +02:00