Skip to content

Commit d613625

Browse files
committed
尝试兼容as4.1
1 parent 6ed3b6e commit d613625

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
buildscript {
2-
ext.kotlin_version = '1.3.71'
2+
ext.kotlin_version = '1.3.72'
33

44
repositories {
55
maven { url 'https://maven.aliyun.com/repository/public' }
@@ -14,7 +14,7 @@ buildscript {
1414
}
1515

1616
plugins {
17-
id "org.jetbrains.intellij" version "0.4.8"
17+
id "org.jetbrains.intellij" version "0.4.2"
1818
}
1919

2020
group 'com.longforus'
@@ -28,7 +28,7 @@ repositories {
2828
}
2929

3030
dependencies {
31-
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
31+
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
3232
}
3333

3434
compileKotlin {
@@ -47,10 +47,10 @@ patchPluginXml {
4747
Add simple sort by name.
4848
"""
4949
}
50-
51-
publishPlugin {
52-
token publishToken
53-
}
50+
//
51+
//publishPlugin {
52+
// token publishToken
53+
//}
5454

5555
//指定编译的编码
5656
tasks.withType(JavaCompile){

src/main/resources/META-INF/plugin.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
<!-- please see http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html for description -->
3939
<idea-version since-build="192"/>
4040
<depends>org.jetbrains.kotlin</depends>
41+
<depends>com.intellij.modules.platform</depends>
4142
<extensions defaultExtensionNs="com.intellij">
4243
<applicationConfigurable instance="com.longforus.kotlincodesorter.config.ConfigComponent"/>
4344
</extensions>

0 commit comments

Comments
 (0)