From dd3408f1228d18242063463ba6b49c541880a0be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20P=C3=B3=C5=82grabia?= Date: Mon, 20 Jan 2025 22:11:21 +0100 Subject: [PATCH] Added idea way to fetch javadocs and sources. --- 2025/01/kotlin_demo1/.gitignore | 3 +++ 2025/01/kotlin_demo1/build.gradle | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/2025/01/kotlin_demo1/.gitignore b/2025/01/kotlin_demo1/.gitignore index 08a55c0..9f1ef47 100644 --- a/2025/01/kotlin_demo1/.gitignore +++ b/2025/01/kotlin_demo1/.gitignore @@ -1 +1,4 @@ .gradle +*.ipr +*.iws +.idea diff --git a/2025/01/kotlin_demo1/build.gradle b/2025/01/kotlin_demo1/build.gradle index 0c0fd16..3831f25 100644 --- a/2025/01/kotlin_demo1/build.gradle +++ b/2025/01/kotlin_demo1/build.gradle @@ -1,4 +1,5 @@ plugins { + id 'idea' id "org.jetbrains.kotlin.jvm" version "2.1.0" } @@ -6,6 +7,13 @@ repositories { mavenCentral() } +idea { + module { + downloadJavadoc = true + downloadSources = true + } +} + kotlin { jvmToolchain(17) }