We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c63960b commit d8e6059Copy full SHA for d8e6059
1 file changed
clipSync-android/app/build.gradle.kts
@@ -5,6 +5,10 @@ plugins {
5
id("org.jetbrains.kotlin.plugin.serialization")
6
}
7
8
+val asciiBuildDir = File(System.getProperty("user.home"), ".clipsync-build/clipSync-android/app")
9
+val asciiTestWorkingDir = File(System.getProperty("java.io.tmpdir"), "clipsync-test-working")
10
+layout.buildDirectory.set(asciiBuildDir)
11
+
12
android {
13
namespace = "com.clipsync.app"
14
compileSdk = 34
@@ -103,3 +107,10 @@ dependencies {
103
107
testImplementation("junit:junit:4.13.2")
104
108
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.3")
105
109
110
111
+tasks.withType<Test>().configureEach {
112
+ doFirst {
113
+ asciiTestWorkingDir.mkdirs()
114
+ }
115
+ workingDir = asciiTestWorkingDir
116
+}
0 commit comments