android-ssh-client/app/build.gradle.kts

54 lines
1.4 KiB
Kotlin
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

plugins {
id("com.android.application")
kotlin("android")
}
android {
namespace = "com.example.androidsshclient"
compileSdk = 34
defaultConfig {
applicationId = "com.example.androidsshclient"
minSdk = 21
targetSdk = 34
versionCode = 1
versionName = "1.0"
}
buildTypes {
getByName("release") {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
}
buildToolsVersion = "34.0.0"
}
dependencies {
implementation("androidx.core:core-ktx:1.12.0")
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("com.google.android.material:material:1.10.0")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
// SSH библиотека
implementation("com.github.mwiede:jsch:0.2.11")
// Корутины для асинхронности
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3")
// Для работы с терминалом
implementation("com.jcraft:jzlib:1.1.3") // Для лучшей поддержки терминала
}