Skip to content

Commit 9724d1f

Browse files
authored
Merge pull request #13 from remotemobprogramming/feature/compatible_203
Compatibility for 2020.3
2 parents fac8256 + 285bb6c commit 9724d1f

File tree

79 files changed

+199
-140
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+199
-140
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
restore-keys: |
3030
${{ runner.os }}-gradle-
3131
32-
- name: Set up JDK 1.8
32+
- name: Set up JDK 11
3333
uses: actions/setup-java@v1
3434
with:
35-
java-version: 1.8
35+
java-version: 11
3636
- name: Grant execute permission for gradlew
3737
run: chmod +x gradlew
3838

@@ -67,6 +67,7 @@ jobs:
6767
env:
6868
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6969
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
70+
JAVA_HOME: '' # Avoid 'java: not found' error
7071

7172
- name: Build plugin
7273
run: ./gradlew buildPlugin
@@ -76,22 +77,9 @@ jobs:
7677
path: build/distributions
7778

7879
- name: Check plugin compatibility
79-
uses: ChrisCarini/intellij-platform-plugin-verifier-action@v0.0.2
80+
uses: ChrisCarini/intellij-platform-plugin-verifier-action@v1.0.3
8081
with:
81-
ide-versions: |
82-
ideaIC:2020.1
83-
ideaIU:2020.1
84-
clion:2020.1
85-
goland:2020.1
86-
pycharmPC:2020.1
87-
pycharmPY:2020.1
88-
riderRD:2020.1
89-
ideaIC:LATEST-EAP-SNAPSHOT
90-
ideaIU:LATEST-EAP-SNAPSHOT
91-
clion:LATEST-EAP-SNAPSHOT
92-
goland:LATEST-EAP-SNAPSHOT
93-
pycharmPC:LATEST-EAP-SNAPSHOT
94-
pycharmPY:LATEST-EAP-SNAPSHOT
82+
ide-versions: .github/workflows/ide_versions_file.txt
9583

9684
- uses: nowsprinting/check-version-format-action@v1
9785
id: version
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ideaIC:2020.3
2+
goland:2020.3
3+
riderRD:2020.3

.idea/copyright/Apache_2_0.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/kotlinc.xml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
## Unreleased
2+
- Support for 2020.3
23

34
## 1.0.2
45
- Fix meta wording

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
same "printed page" as the copyright notice for easier
188188
identification within third-party archives.
189189

190-
Copyright 2020 Koji Hasegawa
190+
Copyright 2020-2021 Koji Hasegawa
191191

192192
Licensed under the Apache License, Version 2.0 (the "License");
193193
you may not use this file except in compliance with the License.

build.gradle.kts

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2020 Koji Hasegawa. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
2+
* Copyright 2020-2021 Koji Hasegawa. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
33
*/
44

55
plugins {
6-
id("org.jetbrains.intellij") version "0.4.21"
6+
id("org.jetbrains.intellij") version "0.6.5"
77
java
8-
kotlin("jvm") version "1.3.71"
8+
kotlin("jvm") version "1.4.21"
99
id("com.palantir.git-version") version "0.12.3"
1010
jacoco
1111
id("io.gitlab.arturbosch.detekt") version "1.11.0"
@@ -38,7 +38,7 @@ dependencies {
3838

3939
// See https://github.com/JetBrains/gradle-intellij-plugin/
4040
intellij {
41-
version = "LATEST-EAP-SNAPSHOT"
41+
version = "2020.3"
4242
setPlugins("git4idea")
4343
}
4444
configure<JavaPluginConvention> {
@@ -53,12 +53,19 @@ detekt {
5353
}
5454
}
5555
tasks {
56-
compileKotlin {
57-
kotlinOptions.jvmTarget = "1.8"
56+
// Set the compatibility versions to 1.8
57+
withType<JavaCompile> {
58+
sourceCompatibility = "1.8"
59+
targetCompatibility = "1.8"
5860
}
59-
compileTestKotlin {
61+
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
6062
kotlinOptions.jvmTarget = "1.8"
6163
}
64+
65+
withType<io.gitlab.arturbosch.detekt.Detekt> {
66+
jvmTarget = "1.8"
67+
}
68+
6269
test {
6370
useJUnitPlatform {
6471
includeEngines("junit-jupiter")
@@ -81,7 +88,7 @@ tasks.getByName<org.jetbrains.intellij.tasks.PatchPluginXmlTask>("patchPluginXml
8188
changeNotes(
8289
changeNotesFromChangeLog()
8390
)
84-
sinceBuild("201.6668.121")
91+
sinceBuild("203")
8592
untilBuild(null)
8693
}
8794

gradle.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
#
2+
# Copyright 2020-2021 Koji Hasegawa. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
3+
#
4+
15
kotlin.code.style=official

gradle/wrapper/gradle-wrapper.jar

3.92 KB
Binary file not shown.
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
#
2+
# Copyright 2020-2021 Koji Hasegawa. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
3+
#
4+
15
distributionBase=GRADLE_USER_HOME
26
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-bin.zip
7+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
48
zipStoreBase=GRADLE_USER_HOME
59
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)