From be72b85b1acbfec446b76f0a6fac5aafa26e57e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Thu, 29 Jul 2021 10:14:20 +0200 Subject: [PATCH] code_samples/pycharm: upgrade to 2021.2 --- product_specific/pycharm_basics/build.gradle | 14 +++++++------- .../src/main/java/icons/SdkIcons.java | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/product_specific/pycharm_basics/build.gradle b/product_specific/pycharm_basics/build.gradle index ab2755545..96ab3160a 100644 --- a/product_specific/pycharm_basics/build.gradle +++ b/product_specific/pycharm_basics/build.gradle @@ -1,14 +1,14 @@ -// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +// Copyright 2000-2021 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. plugins { id 'java' - id 'org.jetbrains.intellij' version '1.1.2' + id 'org.jetbrains.intellij' version '1.1.4' } group 'com.intellij.sdk' version '0.1.0' -sourceCompatibility = 1.8 +sourceCompatibility = 11 repositories { mavenCentral() @@ -16,7 +16,7 @@ repositories { // See https://github.com/JetBrains/gradle-intellij-plugin/ intellij { - version = '2020.2.5' + version = '2021.2' type = 'PY' downloadSources = false } @@ -27,6 +27,6 @@ buildSearchableOptions { patchPluginXml { version = project.version - sinceBuild = '202' - untilBuild = '203.*' -} + sinceBuild = '203' + untilBuild = '212.*' +} \ No newline at end of file diff --git a/product_specific/pycharm_basics/src/main/java/icons/SdkIcons.java b/product_specific/pycharm_basics/src/main/java/icons/SdkIcons.java index 204f14ff6..f0387f454 100644 --- a/product_specific/pycharm_basics/src/main/java/icons/SdkIcons.java +++ b/product_specific/pycharm_basics/src/main/java/icons/SdkIcons.java @@ -1,4 +1,4 @@ -// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +// Copyright 2000-2021 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package icons; @@ -8,6 +8,6 @@ import javax.swing.*; public class SdkIcons { - public static final Icon Sdk_default_icon = IconLoader.getIcon("/icons/sdk_16.svg"); + public static final Icon Sdk_default_icon = IconLoader.getIcon("/icons/sdk_16.svg", SdkIcons.class); }