From fa9fcb8f01dab2b3fa42a144a18273b49a1d6c83 Mon Sep 17 00:00:00 2001 From: Alejandro Serrano Date: Mon, 1 May 2023 09:26:32 +0200 Subject: [PATCH] Fix implicit dependencies for docsJar (#61) --- build.gradle.kts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index d43eee8b..9444c2e6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -62,3 +62,10 @@ allprojects { ) } } + +val projects = listOf("common", "laws", "types", "kotlin-plugin", "kotlin-gradle-plugin", "java-plugin", "java-gradle-plugin") +projects.forEach { thing -> + projects.forEach { dep -> + tasks.getByPath(":arrow-analysis-$thing:docsJar").dependsOn(":arrow-analysis-$dep:dokkaHtml") + } +}