Skip to content

Commit

Permalink
Update plug-in syntax and prepare for 2.0.2 (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
serras authored May 13, 2022
1 parent 11c1fc2 commit e2060cf
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions docs/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,27 +32,35 @@ Open your Gradle build file, and add the following lines:
<div id="gradle-kotlin" class="tabcontent" markdown="1">

```kotlin
plugins {
kotlin("multiplatform") version "1.6.21"
// other plugins
id("io.arrow-kt.analysis.kotlin") version "2.0.2"
}

buildscript {
dependencies {
classpath("io.arrow-kt.analysis.kotlin:io.arrow-kt.analysis.kotlin.gradle.plugin:2.0")
repositories {
mavenCentral()
}
}

apply(plugin = "io.arrow-kt.analysis.kotlin")
```

</div>

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

```groovy
plugins {
id 'org.jetbrains.kotlin.multiplatform' version '1.6.21'
// other plugins
id 'io.arrow-kt.analysis.kotlin' version '2.0.2'
}
buildscript {
dependencies {
classpath 'io.arrow-kt.analysis.kotlin:io.arrow-kt.analysis.kotlin.gradle.plugin:2.0'
repositories {
mavenCentral()
}
}
apply plugin: 'io.arrow-kt.analysis.kotlin'
```

</div>
Expand Down

0 comments on commit e2060cf

Please sign in to comment.