We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1feb34 commit d97f08fCopy full SHA for d97f08f
.gitpod.yml
@@ -9,8 +9,19 @@ tasks:
9
fi
10
11
# disable Gradle auto-reload in IntelliJ
12
- cat .idea/workspace.xml
13
- xmlstarlet ed --inplace -u '//option[@name="autoReloadType"]/@value' -v 'NONE' .idea/workspace.xml
+ if [ -f ".idea/workspace.xml" ]; then
+ xmlstarlet ed --inplace -u '//option[@name="autoReloadType"]/@value' -v 'NONE' .idea/workspace.xml
14
+ else
15
+ mkdir -p .idea
16
+ cat > .idea/workspace.xml <<EOL
17
+ <?xml version="1.0" encoding="UTF-8"?>
18
+ <project version="4">
19
+ <component name="AutoImportSettings">
20
+ <option name="autoReloadType" value="SELECTIVE" />
21
+ </component>
22
+ </project>
23
+ EOL
24
+ fi
25
26
# run standard gradle build
27
./gradlew localDistro
0 commit comments