From e2060cf852baed71812d1778f41fd7468c4caa67 Mon Sep 17 00:00:00 2001 From: Alejandro Serrano Date: Fri, 13 May 2022 11:54:01 +0200 Subject: [PATCH] Update plug-in syntax and prepare for 2.0.2 (#45) --- docs/docs/index.md | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/docs/docs/index.md b/docs/docs/index.md index 6fdc28a3..0bed686c 100644 --- a/docs/docs/index.md +++ b/docs/docs/index.md @@ -32,13 +32,17 @@ Open your Gradle build file, and add the following lines:
```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") ```
@@ -46,13 +50,17 @@ apply(plugin = "io.arrow-kt.analysis.kotlin")
```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' ```