Skip to content

Commit c403add

Browse files
committed
Fix incorrect property reference in TestEnvironment
1 parent ec5872a commit c403add

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android-junit5/src/test/groovy/de/mannodermaus/gradle/plugins/android_junit5/util/TestEnvironment.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class TestEnvironment {
5555
File localPropsFile = new File(rootFile, ANDROID_SDK_FILE_NAME)
5656
if (!localPropsFile.exists()) {
5757
throw new AssertionError(
58-
"'sdk.dir' couldn't be found. Either local.properties file in folder '${projectRoot.absolutePath}' is missing, " +
58+
"'sdk.dir' couldn't be found. Either local.properties file in folder '${rootFile.absolutePath}' is missing, " +
5959
"or it doesn't include the required 'sdk.dir' statement!")
6060
}
6161
def sdkFolderProp = localPropsFile.readLines()

0 commit comments

Comments
 (0)