We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abf0bf0 commit 1e89757Copy full SHA for 1e89757
1 file changed
build.gradle.kts
@@ -2,7 +2,6 @@ import org.jetbrains.changelog.Changelog
2
import org.jetbrains.changelog.markdownToHTML
3
import org.jetbrains.intellij.platform.gradle.TestFrameworkType
4
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
5
-import java.nio.charset.Charset
6
import java.util.*
7
8
plugins {
@@ -18,9 +17,11 @@ plugins {
18
17
group = providers.gradleProperty("pluginGroup").get()
19
version = providers.gradleProperty("pluginVersion").get()
20
21
-val envProperties = Properties()
22
-envProperties.load(file(".env").reader(Charset.forName("UTF-8")))
23
-
+val envProperties by lazy {
+ Properties().apply {
+ load(file(".env").inputStream())
+ }
24
+}
25
// Set the JVM language level used to build the project.
26
kotlin {
27
jvmToolchain(21)
0 commit comments