Dmitriy Novozhilov
a9c6c115be
[Test] Disable gradle test parallelization if JUnit 5 is enabled
2021-02-25 10:38:45 +03:00
Stefan Wolf
d88ef64288
Remove references to validateTaskProperties
...
The task is now called `validatePlugins`.
2021-02-23 23:26:41 +03:00
Alexander Dudinsky
5cbbbc3b83
Fix artifacts needed for the kotlin-gradle-plugin
2021-02-18 16:50:52 +03:00
Alexander Dudinsky
33313ae4b4
Fix artifacts needed for the kotlin-gradle-plugin
2021-02-18 16:47:22 +03:00
Alexander Udalov
1d6b198915
Build: suppress version and JVM target warnings
...
To further reduce the output on each build.
2021-02-18 12:17:17 +01:00
Alexander Dudinsky
a3fa6c6d13
Publish artifacts needed for the kotlin-gradle-plugin in kotlin-ide repository
2021-02-18 11:51:32 +03:00
sebastian.sellmair
4500b6ce74
[Commonizer] Implement :native:kotlin-klib-commonizer:api with support for library commonization
...
- Implement new Gradle module ':native:kotlin-klib-commonizer'
- Implement new NativeKlibCommonize task
- Implement CommonizerTarget.identityString
2021-02-17 19:24:54 +00:00
Mikhael Bogdanov
21e9f67322
Add JvmTargetXOnJvm15 test suites
2021-02-09 12:34:55 +01:00
Alexander Udalov
60a05dded0
Build: fix default value for kotlin.build.disable.werror
2021-02-03 15:06:20 +01:00
Alexander Udalov
496d857db1
Add kotlin.build.disable.werror to disable -Werror locally
...
This can be placed, for example, in `local.properties` to temporarily
disable `-Werror` in compiler/stdlib/plugin/test modules during
development.
2021-02-02 21:47:33 +01:00
Dmitriy Novozhilov
c432efc364
[Build] Extract configuration of JUnit5 dependencies to common helper in buildSrc
2021-02-02 17:54:59 +03:00
Ilya Gorbunov
573aac7252
Apply common configuration to custom publications in kotlin-test
...
To do that, extract parts of publishing setup into reusable functions.
This change makes signing and repository configuration applied to all
project publications, not just to the Main one.
Also:
- Get rid of dependencies from non-default variants in the root pom
- Add an empty javadoc jar
KT-40225
2021-02-01 16:50:05 +03:00
Ilya Gorbunov
a16aaa3824
Setup publications with MPP Gradle metadata for kotlin-test library
...
Move publication configuration from individual platform specific
kotlin-test- modules to the root module.
KT-40225
2021-02-01 16:50:05 +03:00
Mikhael Bogdanov
6a29097a8c
Remove obsolete dependency for dx
2021-01-29 17:47:37 +01:00
Nikolay Krasko
293f2f9950
Build: Replace Bintray with Space for kotlin-dependencies repository (KTI-466)
2021-01-24 15:04:41 +03:00
Dmitriy Novozhilov
2f1e4862e5
[Test] Enable builtin parallel tests execution form JUnit5 in :compiler:tests-common-new
2021-01-15 11:16:26 +03:00
Ilya Chernikov
ffdcda8914
[build] Fix JDK detection on Mac OS X 11 (Big Sur)
...
#KTI-443 fixed
2021-01-07 10:37:19 +01:00
Vyacheslav Gerasimov
89577543a2
Build: Disable plugin marker publication for sonatype
2020-12-23 02:58:14 +03:00
Dmitriy Novozhilov
8ddf419be5
[Build] Fix gradle tests filter for JUnit 5
...
There is an a optimization in our `projectTest` config which filters
out some compiled test classes if they didn't contain specified test
(if user ran :test task with --tests flag). This optimization for one
tests left only one .class file which contains test. But JUnit 5 for
tests in inner classes (with @Nested annotation) requires not only
target class, but and all it's containers
Test: package.SomeTest$Nested.testMethod
JUnit4: package/SomeTest$Nested.class
JUnit5:
- package/SomeTest.class
- package/SomeTest$Nested.class
2020-12-16 19:52:25 +03:00
Vyacheslav Gerasimov
1bc369c63c
Build: Enable caching for test task with enabled test distribution
...
#KTI-112
2020-12-10 22:02:24 +03:00
Vyacheslav Gerasimov
06fd7f8526
Build: Add helper to configure gradle test distribution
2020-12-10 19:42:32 +03:00
Nikolay Krasko
df9ecb0f4a
Dependency of js tests generation on compiler test data generation (KTI-404)
...
There was an error during "Generate Compiler Tests" execution:
Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: compiler\testData\codegen\box\ranges\expression\inexactDownToMinValue.kt
The error was probable caused by parallel execution of tasks:compiler:generateTests and :js:js.tests:generateTests.
Exception could occur when GenerateRangesCodegenTestData.main(args) has
just removed directory with test data for regeneration but
:js:js.tests:generateTests had already seen files present.
#KTI-404 Fixed
2020-12-09 00:58:07 +03:00
Dmitriy Novozhilov
1a3727a17c
Build: advance kotlin-build-gradle-plugin version in build files
2020-11-17 18:14:08 +03:00
Alexander Udalov
4ca60a2d7d
Fix warnings and some inspections in buildSrc
2020-11-16 19:15:43 +01:00
Alexander Udalov
95edcea9a9
Build: fix kotlinx-metadata-jvm publication
...
Co-authored-by: Vyacheslav Gerasimov <vyacheslav.gerasimov@jetbrains.com >
2020-10-15 21:13:50 +02:00
Victor Turansky
b42795a9ea
Bump 'com.gradle.plugin-publish' from 0.11.0 to 0.12.0 ( #3853 )
2020-10-15 15:46:34 +03:00
Nikolay Krasko
51e2b9d33d
Enable signing using gpg in KotlinBuildPublishingPlugin (KTI-355)
...
Add skip for generated Sign task because otherwise added
signatory is forcing task activation.
```Execution failed for task ':kotlin-allopen:signMainPublication'.
org.gradle.api.InvalidUserDataException: Cannot perform signing task
':kotlin-allopen:signMainPublication' because it has no configured
signatory```
#KTI-355 Fixed
2020-10-13 18:29:32 +03:00
Kirill Shmakov
4f51367196
Remove build settings of CLion plugin
2020-09-30 19:56:49 +03:00
Vyacheslav Gerasimov
f03b957812
Build: Check ivy repository by empty marker file instead of directory
...
Should fix situations when directory exists but contents are invalid
which happens when unpacking process is interrupted.
2020-09-30 17:51:22 +03:00
Nikolay Krasko
17e43aadaa
Introduce AS42 bunch
2020-09-29 15:32:32 +03:00
Dmitriy Novozhilov
051d64742c
Make SpaceBootstrap as default bootstrap source
2020-09-28 12:45:36 +03:00
Dmitriy Novozhilov
f39adfdf15
Update version of kotlin-build-gradle-plugin dependency
2020-09-28 12:43:10 +03:00
Yan Zhulanow
0ce9003ef7
Parcelize: Add missing dependencies to Parcelize components in tests
2020-09-24 15:50:58 +09:00
Andrey Uskov
7f4bda0d52
Enable FUS internal mode on IDE launching
2020-09-10 21:07:14 +03:00
Vyacheslav Gerasimov
3764eeba25
Build: Setup gradle.test-retry plugin for all test tasks in the project
2020-09-09 18:20:01 +03:00
Dmitriy Novozhilov
94d58c714a
[FIR] Cleanup dependencies for fir modules
2020-09-01 12:00:12 +03:00
Kirill Shmakov
1ce39222e3
Build KMM plugin for AS 4.2
2020-08-19 13:02:39 +03:00
Nikolay Krasko
f484ceec80
Use GPG agent for signing in PublishedKotlinModule (KTI-314)
2020-08-14 17:31:13 +03:00
Alexander Dudinsky
aec87744f2
Run ImportAndCheckNavigation tests only vs the master version of plugin
...
Also error "Could not find org.jetbrains.kotlin:kotlin-klib-commonizer-embeddable"
was fixed by adding ":native:kotlin-klib-commonizer-embeddable:install"
in dependencies for the kotlin-plugin install
2020-08-10 12:13:21 +03:00
Alexander Dudinsky
d012cd3272
Add kotlin-test-junit:install in dependencies for the kotlin-plugin install
2020-08-05 10:45:16 +03:00
Ilya Gorbunov
95cc35f22e
Package builtins with jvm reflect into IDEA plugin only
...
Leave builtins with common reflect for stand-alone compiler.
2020-07-22 11:08:14 +03:00
Vyacheslav Gerasimov
628efcb189
Build: Add kotlin.build.dependencies.iu.enabled property
...
Alias for intellijUltimateEnabled
2020-07-16 13:00:25 +03:00
Vyacheslav Gerasimov
996e529944
Build: Allow intellijUltimateEnabled without kotlin-ultimate directory
...
This allows to build against idea ultimate locally
2020-07-16 13:00:24 +03:00
Andrey Uskov
005314ce06
Support running import tests on bootstrap version of gradle plugin
2020-07-15 17:09:36 +03:00
Vyacheslav Gerasimov
e215d94b7b
Build: Fix JavaExec task configuration
...
Setting some properties is not allowed in doFirst anymore in Gradle 6.5
2020-07-14 17:51:45 +03:00
Ilya Muradyan
510ac66ce1
Fix tests generation after upgrading Gradle to 6.5
2020-07-10 22:07:10 +03:00
Florian Kistner
202a55cb39
Bump intellijSdk version for 203
2020-07-09 15:27:45 +02:00
Vladimir Dolzhenko
943b59b5d8
Do not provide idea.platform.prefix in run configurations for IJ Ultimate 201+
2020-07-08 10:26:18 +02:00
Alexander Dudinsky
38535c4fe1
New type of task - TestAggregation task
...
You can configure smoke test suites and get critical test results faster
This doesn't replace rr/* builds, but complements them for a faster round trip.
Also test tasks and patterns were added for KMM team.
#KMM-265
2020-07-08 11:23:03 +03:00
Vyacheslav Gerasimov
63b7350046
Build: Use sources from kotlin mpp source set in sourcesJar helper
2020-06-29 18:17:08 +03:00