61 lines
1.9 KiB
Groovy
61 lines
1.9 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'org.jetbrains.kotlin.android'
|
|
id 'org.jetbrains.kotlin.plugin.compose'
|
|
}
|
|
|
|
android {
|
|
namespace 'cloud.molberg.hermesmobile'
|
|
compileSdk 35
|
|
|
|
defaultConfig {
|
|
applicationId 'cloud.molberg.hermesmobile'
|
|
minSdk 23
|
|
targetSdk 35
|
|
versionCode 2
|
|
versionName '0.2.0-native'
|
|
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = '17'
|
|
}
|
|
|
|
buildFeatures {
|
|
compose true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation platform('androidx.compose:compose-bom:2025.01.01')
|
|
implementation 'androidx.activity:activity-compose:1.10.0'
|
|
implementation 'androidx.compose.animation:animation'
|
|
implementation 'androidx.compose.foundation:foundation'
|
|
implementation 'androidx.compose.material3:material3'
|
|
implementation 'androidx.compose.material:material-icons-extended'
|
|
implementation 'androidx.compose.ui:ui'
|
|
implementation 'androidx.compose.ui:ui-tooling-preview'
|
|
implementation 'androidx.core:core-ktx:1.15.0'
|
|
implementation 'androidx.lifecycle:lifecycle-runtime-compose:2.8.7'
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0'
|
|
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
|
|
implementation 'org.json:json:20240303'
|
|
|
|
debugImplementation 'androidx.compose.ui:ui-tooling'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
|
|
}
|