From 109de591181306f120dcc7abf998ab2639a05a89 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 26 Apr 2022 01:43:37 +0530 Subject: Workaround AGP and Dokka conflict (#1872) --- gradle/libs.versions.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gradle/libs.versions.toml') diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 013129bf..8c272bd5 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,6 +4,7 @@ androidx_activity = "1.4.0" androidx_test = "1.4.1-alpha05" compose = "1.2.0-alpha08" coroutines = "1.6.1" +dokka = "1.6.21" flowbinding = "1.2.0" hilt = "2.41" kotlin = "1.6.21" @@ -11,6 +12,7 @@ leakcanary = "2.9.1" lifecycle = "2.4.1" [plugins] +dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" } hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" } [libraries] @@ -41,7 +43,7 @@ aps-zxingAndroidEmbedded = "com.github.android-password-store:zxing-android-embe build-agp = "com.android.tools.build:gradle:7.1.3" build-binarycompat = "org.jetbrains.kotlinx:binary-compatibility-validator:0.9.0" -build-dokka = "org.jetbrains.dokka:dokka-gradle-plugin:1.6.21" +build-dokka = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version.ref = "dokka" } build-download = "de.undercouch:gradle-download-task:5.0.5" build-kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21" build-mavenpublish = "com.vanniktech:gradle-maven-publish-plugin:0.19.0" -- cgit v1.2.3