File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,10 @@ plugins {
5
5
id(" com.github.johnrengelman.shadow" ) version " 8.1.1"
6
6
}
7
7
8
+ fun properties (key : String ) = project.findProperty(key).toString()
9
+
8
10
group = " org.tabooproject.intellij"
9
- version = " 1.0-SNAPSHOT "
11
+ version = properties( " version " )
10
12
11
13
repositories {
12
14
mavenCentral()
@@ -47,6 +49,11 @@ tasks {
47
49
relocate(" okhttp3" , " org.tabooproject.intellij.okhttp3" )
48
50
}
49
51
52
+ patchPluginXml {
53
+ sinceBuild.set(properties(" pluginSinceBuild" ))
54
+ untilBuild.set(properties(" pluginUntilBuild" ))
55
+ }
56
+
50
57
withType<JavaCompile > {
51
58
sourceCompatibility = " 17"
52
59
targetCompatibility = " 17"
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ kotlin.stdlib.default.dependency=false
2
2
org.gradle.configuration-cache =true
3
3
org.gradle.caching =true
4
4
5
+ pluginSinceBuild = 222
6
+ pluginUntilBuild = 241.*
7
+ version =1.0-SNAPSHOT
8
+
5
9
kotlin.code.style =official
6
10
kotlin.experimental.tryK2 =true
7
11
kapt.use.k2 =true
You can’t perform that action at this time.
0 commit comments