private -> internal where it's necessary
This commit is contained in:
+2
-2
@@ -20,7 +20,7 @@ import org.gradle.api.logging.Logger
|
||||
import java.io.FileNotFoundException
|
||||
import java.util.*
|
||||
|
||||
private fun Any.loadKotlinVersionFromResource(log: Logger): String {
|
||||
internal fun Any.loadKotlinVersionFromResource(log: Logger): String {
|
||||
log.kotlinDebug("Loading version information")
|
||||
val props = Properties()
|
||||
val propFileName = "project.properties"
|
||||
@@ -35,4 +35,4 @@ private fun Any.loadKotlinVersionFromResource(log: Logger): String {
|
||||
val projectVersion = props["project.version"] as String
|
||||
log.kotlinDebug("Found project version [$projectVersion]")
|
||||
return projectVersion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user