generated from ali/HarmonyTemplate
51 lines
1.3 KiB
Kotlin
51 lines
1.3 KiB
Kotlin
plugins {
|
|
alias(libs.plugins.android.library)
|
|
alias(libs.plugins.kotlin.compose)
|
|
alias(libs.plugins.hilt)
|
|
alias(libs.plugins.ksp)
|
|
}
|
|
|
|
android {
|
|
namespace = "sh.haven.feature.settings"
|
|
compileSdk = 37
|
|
|
|
defaultConfig {
|
|
minSdk = 26
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":core:ui"))
|
|
implementation(project(":core:data"))
|
|
implementation(project(":core:local"))
|
|
implementation(project(":core:security"))
|
|
// Lets the "Tunnel to a remote SSH profile…" Settings shortcut
|
|
// live-activate the new -R rule on a currently-connected session,
|
|
// mirroring the existing port-forward UI behaviour.
|
|
implementation(project(":core:ssh"))
|
|
implementation(project(":feature:tunnel"))
|
|
|
|
implementation(libs.activity.compose)
|
|
implementation(libs.appcompat)
|
|
implementation(libs.hilt.android)
|
|
ksp(libs.hilt.compiler)
|
|
implementation(libs.hilt.navigation.compose)
|
|
implementation(libs.lifecycle.viewmodel)
|
|
}
|
|
|
|
kotlin {
|
|
compilerOptions {
|
|
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)
|
|
}
|
|
}
|