File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import org.jetbrains.changelog.Changelog
22import org.jetbrains.changelog.markdownToHTML
33import org.jetbrains.intellij.platform.gradle.TestFrameworkType
44import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
5- import java.nio.charset.Charset
65import java.util.*
76
87plugins {
@@ -18,9 +17,11 @@ plugins {
1817group = providers.gradleProperty(" pluginGroup" ).get()
1918version = providers.gradleProperty(" pluginVersion" ).get()
2019
21- val envProperties = Properties ()
22- envProperties.load(file(" .env" ).reader(Charset .forName(" UTF-8" )))
23-
20+ val envProperties by lazy {
21+ Properties ().apply {
22+ load(file(" .env" ).inputStream())
23+ }
24+ }
2425// Set the JVM language level used to build the project.
2526kotlin {
2627 jvmToolchain(21 )
You can’t perform that action at this time.
0 commit comments