This commit is contained in:
1 parent
bce683fcc6
commit
27a738d0e0
17 files changed
+1064
No files matched your search
@@ -0,0 +1,47 @@
|
||||
plugins {
|
||||
id("com.android.application")
|
||||
id("org.jetbrains.kotlin.plugin.compose")
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "dev.alvin.smbexplorer"
|
||||
compileSdk = 37
|
||||
val releaseKeystore = providers.environmentVariable("ANDROID_KEYSTORE_PATH").orNull
|
||||
if (releaseKeystore != null) {
|
||||
signingConfigs {
|
||||
create("release") {
|
||||
storeFile = file(releaseKeystore)
|
||||
storePassword = providers.environmentVariable("ANDROID_KEYSTORE_PASSWORD").get()
|
||||
keyAlias = providers.environmentVariable("ANDROID_KEY_ALIAS").get()
|
||||
keyPassword = providers.environmentVariable("ANDROID_KEY_PASSWORD").get()
|
||||
}
|
||||
}
|
||||
buildTypes {
|
||||
getByName("release") { signingConfig = signingConfigs.getByName("release") }
|
||||
}
|
||||
}
|
||||
defaultConfig {
|
||||
applicationId = "dev.alvin.smbexplorer"
|
||||
minSdk = 28
|
||||
targetSdk = 36
|
||||
versionCode = 1
|
||||
versionName = "0.1"
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
buildFeatures { compose = true }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(platform("androidx.compose:compose-bom:2026.09.00"))
|
||||
implementation("androidx.activity:activity-compose:1.11.0")
|
||||
implementation("androidx.compose.material3:material3")
|
||||
implementation("androidx.compose.foundation:foundation")
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2")
|
||||
implementation("com.hierynomus:smbj:0.15.0")
|
||||
androidTestImplementation("androidx.test:runner:1.7.0")
|
||||
androidTestImplementation("androidx.test.ext:junit:1.3.0")
|
||||
}
|
||||
Reference in new issue
Block a user