File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,14 @@ tasks.register("detectVersionsForTC") {
66 }
77}
88
9- private fun readProperties (propertiesFile : java.io.File ): Map <String , String > =
9+ fun readProperties (propertiesFile : java.io.File ): Map <String , String > =
1010 propertiesFile.readText().lineSequence()
1111 .map { it.split(" =" ) }
1212 .filter { it.size == 2 }
1313 .map { it[0 ].trim() to it[1 ].trim() }.toMap()
1414
15- private fun detectVersion (): String {
16- val baseVersion = readProperties(" ../gradle.properties" )[" baseVersion" ]
15+ fun detectVersion (): String {
16+ val baseVersion = readProperties(file( " ../gradle.properties" ) )[" baseVersion" ]
1717 val buildCounter = project.property(" build.counter" ) as String
1818 val devCounter = project.findProperty(" build.devCounter" ) as ? String
1919 val isOnProtectedBranch = (project.property(" build.branch" ) as String ) == " master"
You can’t perform that action at this time.
0 commit comments