Created
September 17, 2025 12:08
-
-
Save novotnyr/52fe7f006dcdc206c38597a177256466 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "cells" : [ { | |
| "cell_type" : "code", | |
| "metadata" : { | |
| "collapsed" : true, | |
| "ExecuteTime" : { | |
| "end_time" : "2025-09-17T12:07:27.977326Z", | |
| "start_time" : "2025-09-17T12:07:27.850394Z" | |
| } | |
| }, | |
| "source" : "@file:DependsOn(\"org.jetbrains.intellij:plugin-repository-rest-client:2.0.49\")", | |
| "id" : "79080f6ab9a0120a", | |
| "outputs" : [ ], | |
| "execution_count" : 17 | |
| }, { | |
| "metadata" : { | |
| "ExecuteTime" : { | |
| "end_time" : "2025-09-17T12:07:30.249722Z", | |
| "start_time" : "2025-09-17T12:07:27.978556Z" | |
| } | |
| }, | |
| "cell_type" : "code", | |
| "source" : [ "import org.jetbrains.intellij.pluginRepository.PluginRepositoryFactory\n", "import java.io.File\n", "import kotlin.io.path.Path\n", "\n", "val homeDir = System.getProperty(\"user.home\")\n", "val targetDir = File(homeDir)\n", "val pluginId = \"intellij.bigdatatools.awsBase\"\n", "val pluginRepository = PluginRepositoryFactory.create()\n", "\n", "val result: File? = pluginRepository.downloader.downloadLatestCompatiblePlugin(\n", " pluginId,\n", " ideBuild = \"ALL-253.17525.95\",\n", " targetPath = targetDir\n", ")\n", "println(\"Downloaded to $result\")" ], | |
| "id" : "ff2821e08120575f", | |
| "outputs" : [ { | |
| "name" : "stdout", | |
| "output_type" : "stream", | |
| "text" : [ "Downloaded to /Users/novotnyr/bigdatatools-awsBase-253.17525.95.zip\n" ] | |
| } ], | |
| "execution_count" : 18 | |
| } ], | |
| "metadata" : { | |
| "kernelspec" : { | |
| "display_name" : "Kotlin", | |
| "language" : "kotlin", | |
| "name" : "kotlin" | |
| }, | |
| "language_info" : { | |
| "name" : "kotlin", | |
| "version" : "2.2.20-Beta2", | |
| "mimetype" : "text/x-kotlin", | |
| "file_extension" : ".kt", | |
| "pygments_lexer" : "kotlin", | |
| "codemirror_mode" : "text/x-kotlin", | |
| "nbconvert_exporter" : "" | |
| } | |
| }, | |
| "nbformat" : 4, | |
| "nbformat_minor" : 0 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment