File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,10 @@ Learn how to get set up by following the instructions below.
16
16
17
17
## Requirements
18
18
19
- - At least Gradle ` v4.3 ` , latest (tested) supported version is ` v6.1 `
19
+ - For Scala 2: at least Gradle ` v5.0 `
20
+ - For Scala 3: at least Gradle ` v7.3 `
21
+ - For Android: at least Gradle ` v6.1.1 `
22
+ - Latest (tested) supported version is ` v7.5 `
20
23
21
24
## Install the plugin
22
25
@@ -48,7 +51,10 @@ Then, enable bloop in all your Gradle projects with:
48
51
49
52
``` gradle
50
53
allprojects {
51
- apply plugin: 'bloop'
54
+ // test is for compatibility with Metals import
55
+ if (!plugins.hasPlugin("bloop")) {
56
+ apply plugin: "bloop"
57
+ }
52
58
}
53
59
```
54
60
@@ -147,5 +153,7 @@ If your build only has a handful of Scala/Java projects and you don't want to
147
153
enable Bloop in all projects by default, you can selectively enable bloop with:
148
154
149
155
``` groovy
150
- apply plugin: 'bloop'
156
+ if (!plugins.hasPlugin("bloop")) {
157
+ apply plugin: "bloop"
158
+ }
151
159
```
You can’t perform that action at this time.
0 commit comments