Yan Zhulanow
632fe18db6
Revert "Remove deprecated method from CommandLineProcessor"
...
This reverts commit 508330e0bb .
An external plugin depends on the deprecated API: com.jereksel.jailbreakk:0.0.2.
2020-01-24 18:12:21 +09:00
Andrey Uskov
bbdad45201
Added project size and metrics collectors in gradle plugin
2020-01-24 11:23:31 +03:00
Ilya Kirillov
6915193337
Wizard: allow simple js template to be used with JsSingleplatformModuleConfigurator
2020-01-24 11:13:00 +03:00
Ilya Kirillov
fa4cba341b
Wizard: fix tests
2020-01-24 11:12:55 +03:00
Ilya Kirillov
217cf3edd1
Wizard: fix adding dependencies to targets
2020-01-24 11:12:54 +03:00
Ilya Kirillov
c87ece8ae5
Wizard: fix incorrectly added classpath dependency for Android with Groovy dsl
2020-01-24 11:12:52 +03:00
Ilya Kirillov
d5618cadc8
Wizard: put pluginManagement section in the beginning of settings.gradle file
2020-01-24 11:12:50 +03:00
Ilya Kirillov
0a4d45b347
Wizard: add support of creating run configurations
...
#KT-36043 fixed
2020-01-24 11:12:48 +03:00
Ilya Kirillov
d330652eee
Wizard: add support of react js to the js template
2020-01-24 11:12:47 +03:00
Ilya Kirillov
351a037bcd
Wizard: fix not added dependencies for MPP modules
2020-01-24 11:12:46 +03:00
Ilya Kirillov
0f86a7e158
Wizard: fix text of module configurators which is shown in module editor
2020-01-24 11:12:44 +03:00
Ilya Kirillov
dc26138da3
Wizard: add support of JS singleplatform projects
2020-01-24 11:12:43 +03:00
Ilya Kirillov
b9226ce54f
Wizard: automatically determine Kotlin version based on Kotlin plugin version
...
For snapshot plugin just take the latest eap or stable version
2020-01-24 11:12:40 +03:00
Ilya Kirillov
5392ff128f
Wizard: move "validation error" string from message to title
2020-01-24 11:12:36 +03:00
Ilya Kirillov
7527e4b02d
Wizard: remove duplicated string validator
2020-01-24 11:12:09 +03:00
Ilya Kirillov
b33ae61508
Wizard: add validators for POM data
2020-01-24 11:12:08 +03:00
Ilya Kirillov
7df1b54c82
Wizard: Show message when module has no configurable settings
2020-01-24 11:12:06 +03:00
Ilya Kirillov
923f646b3d
Wizard: Move test framework settings to module configurators
2020-01-24 11:12:04 +03:00
Ilya Kirillov
ba62ba39f1
Wizard: Move module templates to modules: separate SourcetModuleIR to MultiplatformModuleIR & SourcesetIR
2020-01-24 11:12:03 +03:00
Ilya Kirillov
0ebcf482ca
Wizard: move module templates to modules
2020-01-24 11:12:02 +03:00
Ilya Kirillov
479f6a4402
Wizard: add kotlin native console application template
2020-01-24 11:11:59 +03:00
Ilya Kirillov
9e96cd4507
Wizard: do not print binaries specification for all native targets
...
#KT-35719 fixed
2020-01-24 11:11:58 +03:00
Ilya Kirillov
bf93d767b3
Wizard: sort & distinct imports in Gradle build files
2020-01-24 11:11:57 +03:00
Ilya Kirillov
dd882c2717
Wizard: move fqName to import in NativeTargetConfigurator
2020-01-24 11:11:56 +03:00
Ilya Kirillov
97416e651e
Wizard: add irs for build files from targets
2020-01-24 11:11:55 +03:00
Ilya Kirillov
2a83111fa3
Wizard: do not add empty gradle project to settings.gradle
2020-01-24 11:11:54 +03:00
Ilya Kirillov
afc320ac8d
Wizard: use settings.gradle instead of .kts for Groovy DSL Gradle projects
...
#KT-35694 fixed
2020-01-24 11:11:53 +03:00
Ilya Kirillov
4f4106a17e
Wizard: print repositories for Maven
...
#KT-35715 fixed
2020-01-24 11:11:52 +03:00
Ilya Kirillov
bced2655e8
Wizard: retrieve repositories from artifacts
2020-01-24 11:11:51 +03:00
Ilya Kirillov
baedd2a253
Wizard: correctly add Kotlin dependencies to singleplatform modules with gradle dsl build system
...
#KT-35695 fixed
2020-01-24 11:11:47 +03:00
Ilya Kirillov
796848b5a9
Wizard: fix adding invalid dependencies for maven build files
...
#KT-35711 fixed
2020-01-24 11:11:45 +03:00
Ilya Kirillov
029dad4d9e
Wizard: allow dashes for module names
...
#KT-35584 fixed
2020-01-24 11:11:40 +03:00
Ilya Kirillov
89199e5cc0
Wizard: fix incorrect ktor repository
...
#KT-35718 fixed
2020-01-24 11:11:34 +03:00
Ilya Kirillov
2df499b12d
Wizard: remove redundant return in native target configuration
...
#KT-35720 fixed
2020-01-24 11:11:33 +03:00
Ilya Kirillov
bfe3b58264
Wizard: fix swapped artifactId and groupId fields titles
...
#KT-35690 fixed
2020-01-24 11:11:32 +03:00
Abduqodiri Qurbonzoda
e89893b6fd
Optimize ArrayDeque tests run time
2020-01-24 05:52:18 +03:00
Ilya Gorbunov
8733d5f9ed
ArrayDeque: avoid triggering JDK 1.6 bug in tests
...
Use System.arraycopy instead of Arrays.copyOfRange to
avoid triggering JDK-7174363 bug in copyOfRange.
Fix package of ArrayDequeTest
2020-01-24 01:39:48 +03:00
Andrey Uskov
beb3165839
Added FUS extensions and new metrics for reporting statistics from gradle
2020-01-23 20:47:21 +03:00
Andrey Uskov
bac0309a9b
Added tests to gradle statistics reporter
2020-01-23 20:47:20 +03:00
Andrey Uskov
33d89e15b5
Metric description and anonymization rules added
...
Added metrics and their anonymization rules added. Persisted gradle
statistical information will not contain any sensitive information.
#KT-33404 Fixed
2020-01-23 20:47:19 +03:00
Andrey Uskov
763e02b3e8
Collecting performance information in Gradle plugin supported
...
The build performance information is collected during the build
when the Kotlin Gradle plugin is applied. Only hashed values are
saved if they may contain sensitive information. Numeric metrics
obtained on the basis of user's project are saved with random seed.
Persisted information is saved in gradleUserHomeDir.
#KT-33404 Fixed
2020-01-23 20:47:19 +03:00
Ilya Gorbunov
76759d3a5f
Drop compatibility stub for experimental unsigned API from 1.3.0
2020-01-23 19:38:02 +03:00
Ilya Gorbunov
8f37ace9ee
Finally drop deprecated mod functions from numeric types
...
#KT-26654
2020-01-23 19:28:22 +03:00
Roman Golyshev
a2b2c47b51
KT-34795 Use maven(...) instead of maven { setUrl(...) } for gradle scripts generation
...
- Use new syntax in tests, but not in actual gradle files
- Reuse public `toKotlinRepositorySnippet` instead of private one
- ^KT-34795 Fixed
2020-01-23 13:45:16 +03:00
Abduqodiri Qurbonzoda
1203df7405
Deprecate floating point to integral types lesser than Int #KT-30360
2020-01-22 23:27:35 +03:00
Abduqodiri Qurbonzoda
e459542e6f
Add removeFirst(OrNull) and removeLast(OrNull) methods to MutableList
2020-01-22 23:22:28 +03:00
Abduqodiri Qurbonzoda
b6849efd47
Common ArrayDeque
2020-01-22 23:22:21 +03:00
Alexander Udalov
3ca0f8a569
Fix incorrect message for new nullability assertion exception in 1.4
...
#KT-36026 Fixed
2020-01-22 14:41:20 +01:00
Ilya Matveev
2c66c3b0b6
Gradle, native: Allow setting destination directory for binaries
...
Issue #KT-29395 fixed
2020-01-22 17:29:32 +07:00
Ilya Matveev
df46dfc63d
Gradle, native: Don't pass to compiler missing klib files
...
We don't compile a klib if there are no sources for it (NO-SOURCE
checks). So, we need to take this fact into account and don't
pass such libraries to compiler in dependent modules. See also:
GH-2617 in the K/N repo.
This patch checks that a klib file exists before passing it to the
compiler.
2020-01-22 17:29:31 +07:00