Skip to content

Commit 22baa13

Browse files
authored
Remove symlink instructions and update suggested gradle.properties file (#8384)
The symlinks were removed in #8327
1 parent 36bda22 commit 22baa13

File tree

1 file changed

+11
-40
lines changed

1 file changed

+11
-40
lines changed

CONTRIBUTING.md

Lines changed: 11 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ name and contact info to the [AUTHORS](AUTHORS) file.
5252
If you already have a fork and are now installing a development environment on a new machine,
5353
make sure you've updated your fork with the master branch
5454
so that you don't use stale configuration options from long ago.
55-
4. `git clone -c core.symlinks=true https://github.com/<your_name_here>/flutter-intellij`
55+
4. `git clone https://github.com/<your_name_here>/flutter-intellij`
5656
5. `cd flutter-intellij`
5757
6. `git remote add upstream https://github.com/flutter/flutter-intellij`
5858
The name `upstream` can be whatever you want.
@@ -121,21 +121,16 @@ name and contact info to the [AUTHORS](AUTHORS) file.
121121
- In the root directory, create an empty `gradle.properties` file (`touch gradle.properties`)
122122
- Add the following to the file:
123123
```
124-
name = "flutter-intellij"
125-
buildSpec=2024.3
126-
flutterPluginVersion=1
127-
ideaProduct=android-studio
128-
ideaVersion=2024.3.1.7
129-
baseVersion=243.22562.59
130-
dartPluginVersion= 243.21565.120
131-
androidPluginVersion=
132-
sinceBuild=243
133-
untilBuild=253.*
134-
testing=true
135-
kotlin.stdlib.default.dependency=false
136-
org.gradle.parallel=true
137-
org.gradle.jvmargs=-Xms1024m -Xmx4048m
138-
```
124+
flutterPluginVersion=SNAPSHOT
125+
ideaVersion=2024.3.1.7
126+
dartPluginVersion= 243.21565.120
127+
sinceBuild=243
128+
untilBuild=253.*
129+
javaVersion=21
130+
kotlin.stdlib.default.dependency=false
131+
org.gradle.parallel=true
132+
org.gradle.jvmargs=-Xms1024m -Xmx4048m
133+
```
139134
- **[Note]** If you want, you can manually change these properties to target different versions of IntelliJ. See `product-matrix.json` to find which configurations are supported.
140135
141136
3. Start IntelliJ IDEA with the `flutter-intellij` project.
@@ -255,30 +250,6 @@ name and contact info to the [AUTHORS](AUTHORS) file.
255250
- Expand `Edit configuration templates...` and verify that Flutter is present.
256251
- Click [+] and verify that Flutter is present.
257252
258-
### Handle symlinks
259-
260-
If exceptions like these occurred:
261-
262-
```
263-
A problem occurred configuring project ':flutter-idea'.
264-
> Source directory 'X:\path\to\your\flutter-intellij\flutter-idea\resources' is not a directory.
265-
```
266-
267-
Check if the directory is a symlink by opening the link in IDEA, and it'll display as:
268-
269-
```symlink
270-
../resources
271-
```
272-
273-
Delete the file, then re-clone the repo using the below command:
274-
275-
```shell
276-
git clone -c core.symlinks=true https://github.com/<your_name_here>/flutter-intellij
277-
```
278-
279-
**NOTE**: Avoid adding symlinks during development if you can,
280-
since they can lead to various file-based issues during development.
281-
282253
## Provision Tool
283254
284255
This is not currently required. However, for debugging unit tests, it may be handy; please ignore for now.

0 commit comments

Comments
 (0)