From d8b625773660e536e84e7ec4e2c6bd72b78c89ef Mon Sep 17 00:00:00 2001 From: Nkolay Krasko Date: Fri, 6 May 2022 16:24:29 +0300 Subject: [PATCH] Remove ancient knowledge about using bunch files for building plugins --- ReadMe.md | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/ReadMe.md b/ReadMe.md index db92d0d48b4..2d413f2fe19 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -111,23 +111,6 @@ Refer to [libraries/ReadMe.md](libraries/ReadMe.md) for details. To build Kotlin/Native, see [kotlin-native/README.md](kotlin-native/README.md#building-from-source). -### Building for different versions of IntelliJ IDEA and Android Studio - -Kotlin plugin is intended to work with several recent versions of IntelliJ IDEA and Android Studio. Each platform is allowed to have a different set of features and might provide a slightly different API. Instead of using several parallel Git branches, the project stores everything in a single branch, but files may have counterparts with version extensions (\*.as32, \*.172, \*.181). The primary file is expected to be replaced with its counterpart when targeting a non-default platform. - -A more detailed description of this scheme can be found at https://github.com/JetBrains/bunches/blob/master/ReadMe.md. - -Usually, there's no need to care about multiple platforms as all features are enabled everywhere by default. Additional counterparts should be created if an expected difference in behavior or an incompatible API usage is required **and** there's no reasonable workaround to save source compatibility. Kotlin plugin contains a pre-commit check that shows a warning if a file has been updated without its counterparts. - -Development for some particular platform is possible after 'switching' that can be done with the [Bunch Tool](https://github.com/JetBrains/bunches/releases) from the command line. - -```sh -cd kotlin-project-dir - -# switching to IntelliJ Idea 2019.1 -bunch switch 191 -``` - ## Working with the project in IntelliJ IDEA Working with the Kotlin project requires at least IntelliJ IDEA 2019.1. You can download IntelliJ IDEA 2019.1 [here](https://www.jetbrains.com/idea/download).