build.gradle

1.0 KB · raw

1plugins {2    id "com.android.application" version "8.7.0" apply false3    id "org.jetbrains.kotlin.android" version "2.0.21" apply false4    id "org.jetbrains.kotlin.plugin.compose" version "2.0.21" apply false5    id "org.jetbrains.kotlin.plugin.parcelize" version "2.0.21" apply false6    id "org.jetbrains.kotlin.plugin.serialization" version "2.0.21" apply false7    id "com.google.devtools.ksp" version "2.0.21-1.0.28" apply false8    id "com.google.dagger.hilt.android" version "2.51.1" apply false9}1011tasks.register("buildRustNoiseHost", Exec) {12    def coreDir = file("../peach-browser/crypto-core")13    onlyIf {14        coreDir.exists()15    }16    workingDir rootDir17    commandLine "sh", file("scripts/build-rust-host.sh"), coreDir18}1920tasks.register("buildRustNoiseHostTest", Exec) {21    def coreDir = file("../peach-browser/crypto-core")22    onlyIf {23        coreDir.exists()24    }25    workingDir rootDir26    commandLine "sh", file("scripts/build-rust-host.sh"), coreDir27    environment "PEACH_NOISE_CORE_FEATURES", "test-constructors"28}