Commit Graph

30 Commits

Author SHA1 Message Date
Sergey Rostov cc95c16ac2 minor: rename GradleScriptNotificationProvider 2020-06-17 14:30:18 +03:00
Konstantin Tskhovrebov 08438dade2 Add project resolver for adding commonizer gradle task to IDEA import 2020-06-02 11:03:51 +03:00
Sergey Rostov 53983a99e5 Fix order of ExternalSystemListeners 2020-05-26 19:22:07 +03:00
Sergey Rostov 8f75f72835 Revert "Fix order of ExternalSystemListeners"
This reverts commit 879fe9b4
2020-05-26 19:21:58 +03:00
Natalia Selezneva 879fe9b493 Fix order of ExternalSystemListeners
in 201 the order of ExternalSystemListener.EP isn't guaranteed.
But we need to update script definitions and only then we can store script models,
because they need to know script definitions additional classpath
2020-05-19 15:04:14 +03:00
Anton Yalyshev f0ff4b066e Remove old Gradle-based new_project_wizards from the Kotlin group 2020-05-15 19:11:47 +03:00
Natalia Selezneva 25dc8b7766 Minor: rename files 2020-04-23 20:14:02 +03:00
Natalia Selezneva 57d390bab0 Introduce new external listener to avoid failing loading dependencies during new projet creation 2020-04-10 17:50:51 +03:00
Yaroslav Chernyshev b13b6d86c7 [Gradle, Native] Advanced CocoaPods integration. 2020-03-25 11:20:01 +03:00
Dmitriy Dolovov c9b1c384e6 Clean-up: Split nativeLibrariesUtil.kt into separate files in idea-gradle 2020-01-27 17:09:21 +07:00
Natalia Selezneva 858698cf9a Provide a notification for gradle script that aren't related to any gradle project (KT-35268)
Add action to load/reload configuration for them manually
^KT-35268 Fixed
2020-01-23 11:12:54 +03:00
Sergey Rostov c0690ff5f6 gradle.kts importing: move code to dedicated package 2019-12-16 10:31:11 +03:00
Vladimir Ilmov f05a452ef2 [coroutine][debugger] Unit test support added for Gradle run configurations. 2019-12-11 11:46:28 +01:00
Ilya Goncharov 86e665e2b3 [Gradle, Idea] Add Gutter Configurator for non-jvm tests 2019-11-29 15:09:35 +03:00
Natalia Selezneva 6c4de96dcb Minor: extract class to separate file 2019-11-22 11:43:31 +03:00
Natalia Selezneva 4b0844b21d Minor: move classes in idea-gradle module related to scripting 2019-11-22 11:43:31 +03:00
Sergey Rostov 9f3c2d0292 build.gradle.kts: import script dependencies on Gradle Project sync 2019-11-11 15:15:14 +03:00
Yan Zhulanow f408c249f1 Implement class/method run configurations for MPP projects 2019-10-08 18:17:06 +09:00
Anton Yalyshev 1cdcde86e3 Extract adding of sourceSets to subclass, cause superclass is also used in other wizards where this procedure breaks build.gradle
#KT-32105 Fixed
2019-07-17 10:58:39 +03:00
Anton Yalyshev 9d6367a9be Add Kotlin/MPP to Gradle group of New Project Wizards #KT-32105 Fixed 2019-07-17 10:57:04 +03:00
Anton Yalyshev 12736edfc1 Revert "Add Kotlin/MPP to Gradle group of New Project Wizards #KT-32105 Fixed"
This reverts commit 6b3117cc
2019-07-16 18:10:49 +03:00
Anton Yalyshev 6b3117cc2c Add Kotlin/MPP to Gradle group of New Project Wizards #KT-32105 Fixed 2019-07-16 11:03:51 +03:00
Sergey Rostov f49907092b IDE, wizards: update Gradle Kotlin/JS support
Split Kotlin/JS configuration for browser and nodejs.
Add corresponding Kotlin/JS sub targets DSL calling.
2019-06-08 20:36:09 +03:00
Vyacheslav Gerasimov 8723ad4f46 Switch to 191 platform 2019-04-22 21:52:19 +03:00
Natalia Selezneva aa99d8fcbe Rename extension point for additional dependencies of scripts 2019-04-04 11:06:14 +03:00
Mikhail Glukhikh ba9b3397d0 Make Groovy-based inspections alive again
After commit 9b5b0447, declaration of Groovy-based inspections moved
into gradle-groovy.xml. However, this makes transitive-optional
dependency between plugin.xml, gradle-java.xml & gradle-groovy.xml
which doesn't work (see IDEA-209769) and inspections aren't loaded.

This commit breaks this transitivity by declaring dependency
to gradle-groovy.xml directly in plugin.xml.
This also fixes most tests from GradleInspectionTest group.
2019-03-27 18:06:24 +03:00
Dmitriy Dolovov e33ea24dc7 Fix: Native libraries are not automatically unloaded from an IDE project
Issue #KT-30490 fixed
2019-03-26 09:43:06 +07:00
Nikita Skvortsov 9b5b0447fa only load inspections when groovy plugin is present KT-30579
otherwise, a user who disables Groovy support gets NoClassDefFound errors
2019-03-25 16:06:55 +03:00
Anton Yalyshev 415793be1c better look for wizards names and descriptions: removed word dups and specified build system #KT-27183 Fixed 2019-03-05 11:40:19 +03:00
Sergey Rostov df2e4524d7 Move resources from /src to separate /resources directory.
Previously this files was stored in /src directory and was included in
resources mainly by SourceSet.projectDefault from sourceSets.kt:

val processResources = tasks.getByName(processResourcesTaskName) as ProcessResources
processResources.from("resources") { include("**") }
processResources.from("src") { include("META-INF/**", "**/*.properties") }

Also there are some custom rules like this:

resources.srcDir("../idea-analysis/src").apply { include("**/*.properties") }
resources.srcDirs("idea-repl/src").apply { include("META-INF/**") }

All this rules are synthesized in script
https://github.com/snrostov/kotlin-migrate-resources/blob/master/src/main/kotlin/main.kt

This commit created using that script. See README.md for more details on
 script.
2018-11-30 15:01:01 +03:00