Skip to content

Commit a463727

Browse files
Abduqodiri Qurbonzodakx412764776
authored andcommitted
Change the paths to the kotlin-qualification-task
To make it work in my laptop
1 parent 1771293 commit a463727

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

plugin/main/src/kotlinx/benchmark/gradle/AndroidMultiplatformTasks.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ fun Project.createAndroidBenchmarkExecTask(target: KotlinJvmAndroidCompilation,
5757
detectAndroidDevice()
5858

5959
// TODO: Project path needs to execute benchmark task
60-
val executeBenchmarkPath = "E:/Android/AndroidProjects/kotlin-qualification-task"
60+
val executeBenchmarkPath = "/Users/abduqodiri.qurbonzoda_1/AndroidStudioProjects/kotlin-qualification-task"
6161
// Using ./gradlew on Windows shows error:
6262
// CreateProcess error=193, %1 is not a valid Win32 application
6363
val osName = System.getProperty("os.name").toLowerCase(Locale.ROOT)
@@ -83,6 +83,7 @@ fun Project.createAndroidBenchmarkExecTask(target: KotlinJvmAndroidCompilation,
8383
outputGobbler.start()
8484
errorGobbler.start()
8585

86+
8687
clearLogcat()
8788
val exitCode = process.waitFor(10, TimeUnit.MINUTES)
8889
captureLogcatOutput()

plugin/main/src/kotlinx/benchmark/gradle/AndroidSourceGenerator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fun Project.generateBenchmarkSourceFiles(
1212
) {
1313

1414
// TODO: Path needs to generate files
15-
val targetPath = "E:/Android/AndroidProjects/kotlin-qualification-task/microbenchmark"
15+
val targetPath = "/Users/abduqodiri.qurbonzoda_1/AndroidStudioProjects/kotlin-qualification-task/microbenchmark"
1616
val androidTestDir = File(targetPath).resolve("src/androidTest/kotlin")
1717
if (!androidTestDir.exists()) {
1818
androidTestDir.mkdirs()

0 commit comments

Comments
 (0)