Skip to content

Commit e2060cf

Browse files
authored
Update plug-in syntax and prepare for 2.0.2 (#45)
1 parent 11c1fc2 commit e2060cf

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

docs/docs/index.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,35 @@ Open your Gradle build file, and add the following lines:
3232
<div id="gradle-kotlin" class="tabcontent" markdown="1">
3333

3434
```kotlin
35+
plugins {
36+
kotlin("multiplatform") version "1.6.21"
37+
// other plugins
38+
id("io.arrow-kt.analysis.kotlin") version "2.0.2"
39+
}
40+
3541
buildscript {
36-
dependencies {
37-
classpath("io.arrow-kt.analysis.kotlin:io.arrow-kt.analysis.kotlin.gradle.plugin:2.0")
42+
repositories {
43+
mavenCentral()
3844
}
3945
}
40-
41-
apply(plugin = "io.arrow-kt.analysis.kotlin")
4246
```
4347

4448
</div>
4549

4650
<div id="gradle-groovy" class="tabcontent" markdown="1">
4751

4852
```groovy
53+
plugins {
54+
id 'org.jetbrains.kotlin.multiplatform' version '1.6.21'
55+
// other plugins
56+
id 'io.arrow-kt.analysis.kotlin' version '2.0.2'
57+
}
58+
4959
buildscript {
50-
dependencies {
51-
classpath 'io.arrow-kt.analysis.kotlin:io.arrow-kt.analysis.kotlin.gradle.plugin:2.0'
60+
repositories {
61+
mavenCentral()
5262
}
5363
}
54-
55-
apply plugin: 'io.arrow-kt.analysis.kotlin'
5664
```
5765

5866
</div>

0 commit comments

Comments
 (0)