From 753ad9f29c364848c3325b3abee651477ca1dd50 Mon Sep 17 00:00:00 2001 From: Dmitriy Dolovov Date: Fri, 30 Sep 2022 18:08:30 +0200 Subject: [PATCH] [Native][tests] Minor: Mark TestProperty as private, it should not be used outside of the file --- buildSrc/src/main/kotlin/nativeTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/nativeTest.kt b/buildSrc/src/main/kotlin/nativeTest.kt index 2bf73de475c..c92ecab76ce 100644 --- a/buildSrc/src/main/kotlin/nativeTest.kt +++ b/buildSrc/src/main/kotlin/nativeTest.kt @@ -4,7 +4,7 @@ import org.gradle.api.Project import org.gradle.kotlin.dsl.project import org.gradle.api.artifacts.Configuration -enum class TestProperty(shortName: String) { +private enum class TestProperty(shortName: String) { // Use a separate Gradle property to pass Kotlin/Native home to tests: "kotlin.internal.native.test.nativeHome". // Don't use "kotlin.native.home" and similar properties for this purpose, as these properties may have undesired // effect on other Gradle tasks (ex: :kotlin-native:dist) that might be executed along with test task.