Skip to content

Commit 2a534ea

Browse files
committed
Test hidden properties
1 parent 1ce265c commit 2a534ea

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

build.gradle.kts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import org.gradle.api.tasks.bundling.Jar
1515
import org.gradle.api.tasks.compile.JavaCompile
1616
import org.gradle.api.tasks.testing.Test
1717
import org.gradle.internal.jvm.Jvm
18+
import org.jetbrains.intellij.tasks.PublishTask
1819
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
1920
import java.io.File
2021

@@ -44,10 +45,17 @@ val javaVersion: String by extra
4445
val kotlinVersion: String by extra
4546
val downloadIdeaSources: String by extra
4647

48+
val test_this: String by extra
49+
50+
val repoUsername: String by extra
51+
val repoPassword: String by extra
52+
val repoChannel: String by extra
53+
4754
val compileKotlin by tasks
4855
val processResources: AbstractCopyTask by tasks
4956
val test: Test by tasks
5057
val runIde: JavaExec by tasks
58+
val publishPlugin: PublishTask by tasks
5159

5260
configurations {
5361
"kotlin"()
@@ -126,6 +134,12 @@ intellij {
126134
sandboxDirectory = project.rootDir.canonicalPath + "/.sandbox"
127135
}
128136

137+
publishPlugin {
138+
username(repoUsername)
139+
password(repoPassword)
140+
channels(repoChannel)
141+
}
142+
129143
tasks.withType<JavaCompile> {
130144
options.encoding = "UTF-8"
131145
}
@@ -246,3 +260,5 @@ fun intellijPlugin(name: String) = mapOf(
246260
"version" to ideaVersion,
247261
"configuration" to "compile"
248262
)
263+
264+
println("test_this: $test_this")

0 commit comments

Comments
 (0)